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

Samebug tips

  1. ,
    via Stack Overflow by Strelok

    Import the server certificate into your truststore.

Solutions on the web

via Stack Overflow by Emman Sun
, 1 year ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via jetbrains.com by Unknown author, 1 year ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via Stack Overflow by user3622196
, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via csdn.net by Unknown author, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via ne.jp by Unknown author, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via Stack Overflow by user3632940
, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:533)	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)	at org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl.getNewApplicationAccessToken(AMDefaultKeyManagerImpl.java:360)	at org.wso2.carbon.apimgt.impl.APIConsumerImpl.renewAccessToken(APIConsumerImpl.java:867)	at org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.renewAccessToken(UserAwareAPIConsumer.java:36)	at org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_refreshToken(APIStoreHostObject.java:4120)