First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How do I decrypt java TLS traffic?

I want to try to debug an issue with my java app communicating with AWS. I know I should provide Wireshark with keys to decrypt the traffic but I'm not sure how to go about this. The docs say it's impossible without a private key which matches the server certificate. So is it possible and if so how?

johnny's avatar
1
johnny
asked 2020-11-09 10:15:29 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

As per the wiki page (note new location), TLS can be decrypted under some circumstances with the server private RSA key or more connections can be decrypted (especially TLS 1.3) if a keylogfile is made available by the client.

There seems to be a few tools to do this with Java, e.g. https://github.com/neykov/extract-tls...

grahamb's avatar
23.8k
grahamb
answered 2020-11-09 10:39:29 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer