Outbound SSL fails with javax.net.ssl.SSLHandshakeException: server certificate change is restrictedduring renegotiation (Doc ID 2087740.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Java Cloud Service - SaaS Extension - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

From Java Cloud Servive SAAS extension, the following exception is seen when attempting to make an SSL outbound call.  In reported case this was a JAX-RS call.

............
Caused by: javax.net.ssl.SSLHandshakeException: server certificate change is restrictedduring renegotiation
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1639)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:269)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1432)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:213)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:913)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:853)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:851)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1285)
at weblogic.socket.JSSEFilterImpl.doTasks(JSSEFilterImpl.java:191)
at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:97)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms