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 Aminul Islam, 1 year ago
Leaf certificate could not be verified with provided public key
via Appcelerator JIRA by Aminul Islam, 1 year ago
Leaf certificate could not be verified with provided public key
via GitHub by bcook-r7
, 2 years ago
java.security.cert.CertificateException: Invalid certificate
via Stack Overflow by Usman Rana
, 2 years ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via Stack Overflow by omar aksim
, 2 years ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
via GitHub by liyun935cn
, 10 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 com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:322)	at com.android.okhttp.Connection.upgradeToTls(Connection.java:1257)	at com.android.okhttp.Connection.connect(Connection.java:1188)	at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:395)	at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:298)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:399)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:349)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:165)	at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:543)	at java.net.URLConnection.getContentLength(URLConnection.java:315)	at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getContentLength(DelegatingHttpsURLConnection.java:146)	at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:25)	at ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159)	at ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85)	at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207)	at java.lang.Thread.run(Thread.java:818)	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)