AnsweredAssumed Answered

SSLHandshakeException: Failed to negotiate the use of secure renegotiation

Question asked by Nikhil Patil on May 21, 2020
Latest reply on May 30, 2020 by Michael McKenney

I am using java 1.8.0_191 on my web server, I am writing a code which will call external web service which has following details

Secure RenegotiationNot supported   ACTION NEEDED 
Secure Client-Initiated RenegotiationNo
Insecure Client-Initiated RenegotiationNo

when I call the web API from simple java main class I can connect easily but when I connect through my web server it gives exception.

javax.net.ssl.SSLHandshakeException: Failed to negotiate the use of secure renegotiation
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:306)
at sun.security.ssl.ClientHandshaker.serverHello(ClientHandshaker.java:513)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:207)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectio

 

 

Do i need some workaround at my server(resin).

Outcomes