Issue
I am having a problem connecting to a SSL host, I am getting an error:
Severe: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
I think that I found an answer here: rel="nofollow">https://bugs.openjdk.java.net/browse/JDK-8065184
I think that my solution might be the answer:
The issue has been resolved by setting the following two JAVA options:
-Dcom.sun.net.ssl.enableECC=false
-Djsse.enableSNIExtension=false
Where should I put these "Java options"? Is there any way to put these options in with Java? I am using Eclipse and Glassfish.
Thank you for any help.
Solution
Go to Run -> Run Configurations... menu, in the lookup menu on the left type Glassfish and select your launch configuration. In the Argument tab you will find a VM Arguments box - add your Java options there.
Answered By - Maciej Lach
Answer Checked By - Clifford M. (JavaFixing Volunteer)