Version 2 (modified by terryk, 7 years ago) (diff)


Info exception

When making an HTTPS connection, let’s assume that the client threw the following exception due to a failed handshake with the server: Received fatal alert: handshake_failure

Applying the property from above, the failure associated with this SSLHandshakeException would appear immediately after algorithm negotiation in the logs.

Avoid exception:

VM arguments -Dhttps.protocols="TLSv1,SSLv3"

Program arguments it

--oid userOpenIDURL -P password --output outputfil

Get property in code:


Set property in code:

System.setProperty("https.protocols", "TLSv1,SSLv3");

Produced by

modifications in /usr/local/tomcat/conf/server.xml

instead of

Attachments (1)

Download all attachments as: .zip