Java SSL woes

So you’ve written some code, to connect to something by SSL…and you get an exception when you connect… well I find the best thing todo is enable extra debug for ssl i.e.

add to java command line arg

or in code you can add


And now you will have debug output telling you, hopefully, exactly why ssl isn’t behaving !

Show your support

Clapping shows how much you appreciated Peter Richardson’s story.