java.security.cert.CertificateException

Certificate chain not trusted

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by H Krishna K,
  • Stack trace

    • java.security.cert.CertificateException: Certificate chain not trusted at hk.hku.cecid.piazza.commons.soap.SOAPHttpConnector.send(SOAPHttpConnector.java:112)[piazza-commons.jar:] at hk.hku.cecid.ebms.spa.task.OutboxTask.sendMsgByHttp(OutboxTask.java:575) at hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:445) at hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)[piazza-commons.jar:] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_75] Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificate chain not trusted at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)[jsse.jar:1.7.0_75] at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)[jsse.jar:1.7.0_75] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)[jsse.jar:1.7.0_75] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)[jsse.jar:1.7.0_75] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)[jsse.jar:1.7.0_75] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)[jsse.jar:1.7.0_75] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)[jsse.jar:1.7.0_75] at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)[jsse.jar:1.7.0_75] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)[jsse.jar:1.7.0_75] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)[jsse.jar:1.7.0_75] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)[jsse.jar:1.7.0_75] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)[jsse.jar:1.7.0_75] at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)[rt.jar:1.7.0_75] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)[rt.jar:1.7.0_75] at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1092)[rt.jar:1.7.0_75] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)[rt.jar:1.7.0_75] at hk.hku.cecid.piazza.commons.soap.SOAPHttpConnector.send(SOAPHttpConnector.java:84)[piazza-commons.jar:] ... 4 more Caused by: java.security.cert.CertificateException: Certificate chain not trusted at hk.hku.cecid.piazza.commons.security.KeyStoreTrustManager.checkTrusted(KeyStoreTrustManager.java:96)[piazza-commons.jar:] at hk.hku.cecid.piazza.commons.security.KeyStoreTrustManager.checkServerTrusted(KeyStoreTrustManager.java:131)[piazza-commons.jar:] at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:885)[jsse.jar:1.7.0_75] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428)[jsse.jar:1.7.0_75] ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.