Can someone point me to exact details on javax.net.debug?

Jiyeon picture Jiyeon · Sep 30, 2011 · Viewed 21.8k times · Source

I'd like to get exact details on the SSL debug output generated using javax.net.debug. I have looked, but nearly everything just goes through a sample file.

Sorry in advance if this is easier to find then I expected.

Answer

user207421 picture user207421 · Jun 4, 2012

I don't understand what it is that you don't understand.

There's the specification of the option itself in the JSSE Reference Guide. There's the tutorial mentioned by @JavaGeek.

You definitely need to understand the SSL handshake process to understand the output for the handshake option, and your reference for that is RFC 2246, or th excellent book by Eric Rescoria if you like.

You would need to understand the TrustManager and KeyManager interfaces to make much sense out of the keymanager and trustmanager options, and the SSLContext and friends to understand the session and context stuff.