java.security.cert.CertificateException: Certificate chain not trusted

Google Groups | H Krishna K | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Message Signing in ebMS

    Google Groups | 2 years ago | H Krishna K
    java.security.cert.CertificateException: Certificate chain not trusted

    Root Cause Analysis

    1. java.security.cert.CertificateException

      Certificate chain not trusted

      at hk.hku.cecid.piazza.commons.security.KeyStoreTrustManager.checkTrusted()
    2. hk.hku.cecid
      KeyStoreTrustManager.checkServerTrusted
      1. hk.hku.cecid.piazza.commons.security.KeyStoreTrustManager.checkTrusted(KeyStoreTrustManager.java:96)[piazza-commons.jar:]
      2. hk.hku.cecid.piazza.commons.security.KeyStoreTrustManager.checkServerTrusted(KeyStoreTrustManager.java:131)[piazza-commons.jar:]
      2 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:885)[jsse.jar:1.7.0_75]
      2. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428)[jsse.jar:1.7.0_75]
      3. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)[jsse.jar:1.7.0_75]
      4. sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)[jsse.jar:1.7.0_75]
      5. sun.security.ssl.Handshaker.process_record(Handshaker.java:837)[jsse.jar:1.7.0_75]
      6. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)[jsse.jar:1.7.0_75]
      7. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)[jsse.jar:1.7.0_75]
      8. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)[jsse.jar:1.7.0_75]
      9. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)[jsse.jar:1.7.0_75]
      9 frames
    4. Java RT
      HttpsURLConnectionImpl.getOutputStream
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)[rt.jar:1.7.0_75]
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)[rt.jar:1.7.0_75]
      3. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1092)[rt.jar:1.7.0_75]
      4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)[rt.jar:1.7.0_75]
      4 frames
    5. hk.hku.cecid
      ActiveThread.run
      1. hk.hku.cecid.piazza.commons.soap.SOAPHttpConnector.send(SOAPHttpConnector.java:84)[piazza-commons.jar:]
      2. hk.hku.cecid.ebms.spa.task.OutboxTask.sendMsgByHttp(OutboxTask.java:575)
      3. hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:445)
      4. hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)[piazza-commons.jar:]
      4 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_75]
      1 frame