Reputation: 11
I added the needed certificates to my java/weblogic certs and I got around the SSL Hand shake exception. However once I start my server, the app works fine on the first attempt but when i send a second request, it throws the handshake error again. Is it because of time out or something?
Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1496)
at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1508)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:70)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:140)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts`enter code here`.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
Upvotes: 0
Views: 1036
Reputation: 11
Setting this for JAVA_OPTIONS in the setDomainEnv.cmd solved the problem!
-Dhttps.protocols=TLSv1.1,TLSv1.2
Upvotes: 1