SSL peer shut down incorrectly in Java
That is a problem of security protocol. I am using TLSv1 but the host accept only TLSv1.1 and TLSv1.2 then I changed the protocol in Java with the instruction below:
System.setProperty("https.protocols", "TLSv1.1")
;
How to make Java 6, which fails SSL connection with SSL peer shut down incorrectly, succeed like Java 7?
Bruno's answer was the correct one in the end. This is most easily controlled by the https.protocols
system property. This is how you are able to control what the factory method returns. Set to "TLSv1" for example.
Related Topics
Soap Request to Webservice with Java
How to Merge Documents Correctly
Java Library to Compare Image Similarity
What Does an Integer That Has Zero in Front of It Mean and How to Print It
How to Use Urlclassloader to Load a *.Class File
How to Upper Case Every First Letter of Word in a String
No Serializer Found for Class Org.Hibernate.Proxy.Pojo.Bytebuddy.Bytebuddyinterceptor
Jdbc Driver Throws "Resultset Closed" Exception on Empty Resultset
Capturing Browser Logs with Selenium Webdriver Using Java
How to Pass Parameter to Jsp:Include via C:Set? What Are the Scopes of the Variables in Jsp
Java Gif Animation Not Repainting Correctly