javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: The certificate chain from the server is not trusted

Oracle Community | 807581 | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SSL stops working on redeploy

    Oracle Community | 9 years ago | 807581
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: The certificate chain from the server is not trusted

    Root Cause Analysis

    1. java.security.cert.CertificateException

      The certificate chain from the server is not trusted

      at com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkCertificate()
    2. com.sun.enterprise
      SunOneBasicX509TrustManager.checkServerTrusted
      1. com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkCertificate(SunOneBasicX509TrustManager.java:264)
      2. com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkServerTrusted(SunOneBasicX509TrustManager.java:141)
      2 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:967)
      2. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
      3. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:511)
      4. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:449)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029)
      7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1056)
      8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1040)
      8 frames
    4. Java RT
      HttpsURLConnectionImpl.getOutputStream
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
      3. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836)
      4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
      4 frames
    5. Spring WS Core
      TransportOutputStream.write
      1. org.springframework.ws.transport.http.HttpUrlConnection.getRequestOutputStream(HttpUrlConnection.java:71)
      2. org.springframework.ws.transport.AbstractSenderConnection$RequestTransportOutputStream.createOutputStream(AbstractSenderConnection.java:93)
      3. org.springframework.ws.transport.TransportOutputStream.getOutputStream(TransportOutputStream.java:41)
      4. org.springframework.ws.transport.TransportOutputStream.write(TransportOutputStream.java:60)
      4 frames
    6. Metro Web Services Runtime OSGi Bundle
      MessageImpl.writeTo
      1. com.sun.xml.messaging.saaj.soap.MessageImpl.writeTo(MessageImpl.java:1219)
      1 frame
    7. Spring WS Core
      AbstractWebServiceConnection.send
      1. org.springframework.ws.soap.saaj.Saaj13Implementation.writeTo(Saaj13Implementation.java:283)
      2. org.springframework.ws.soap.saaj.SaajSoapMessage.writeTo(SaajSoapMessage.java:105)
      3. org.springframework.ws.transport.AbstractWebServiceConnection.send(AbstractWebServiceConnection.java:36)
      3 frames