Ask Your Question
0

How do I decrypt java TLS traffic?

asked 2020-11-09 10:15:29 +0000

johnny gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-09 10:39:29 +0000

grahamb gravatar image

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...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-11-09 10:15:29 +0000

Seen: 1,975 times

Last updated: Nov 09 '20