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 jayesh joshi, 1 year ago
Leaf certificate could not be verified with provided public key
via Appcelerator JIRA by jayesh joshi, 1 year ago
Leaf certificate could not be verified with provided public key
via Stack Overflow by omar aksim
, 2 years ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via GitHub by bcook-r7
, 2 years ago
java.security.cert.CertificateException: Invalid certificate
via Stack Overflow by Sanjay Kumar
, 2 years 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 com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:322) at com.android.okhttp.Connection.upgradeToTls(Connection.java:201) at com.android.okhttp.Connection.connect(Connection.java:155) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:276) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211) at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382) at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:217) at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218) at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:25) at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1146) at java.lang.Thread.run(Thread.java:818)Caused by: java.security.cert.CertificateException: Leaf certificate could not be verified with provided public key at appcelerator.https.PinningTrustManager.checkServerTrusted(PinningTrustManager.java:84) at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:116) at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:550) at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:318) ... 11 more