javax.net.ssl.SSLHandshakeException: Leaf certificate could not be verified with provided public key

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Marco Cota, 1 year ago
Leaf certificate could not be verified with provided public key
via Appcelerator JIRA by Marco Cota, 1 year ago
Leaf certificate could not be verified with provided public key
via microsoft.com by Unknown author, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via GitHub by JimRoid
, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via GitHub by JimRoid
, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via Stack Overflow by Pieter Verschaffelt
, 3 months ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
javax.net.ssl.SSLHandshakeException: Leaf certificate could not be verified with provided public key
at appcelerator.https.PinningTrustManager.checkServerTrusted(PinningTrustManager.java:84)
at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:613)
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405)
at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.(OpenSSLSocketImpl.java:661)
at org.apache.http.impl.io.SocketInputBuffer.(SocketInputBuffer.java:70)
at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java:106)
at org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java:129)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:172)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653)
at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1328)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.