HTTPステータス 500 - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


type 例外レポート

メッセージ sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

説明 The server encountered an internal error that prevented it from fulfilling this request.

例外

javax.servlet.ServletException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Relevant discussions can be found on the Internet at:
	http://www.google.co.jp/search?q=8e063946 or
	http://www.google.co.jp/search?q=c60cdc59
TwitterException{exceptionCode=[8e063946-c60cdc59 8e063946-c60cdc2f 8e063946-c60cdc2f 8e063946-c60cdc2f], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.2}
	com.conovare.fishingnote.servlet.wide.StartOAuthServlet.doGet(StartOAuthServlet.java:30)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

原因

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Relevant discussions can be found on the Internet at:
	http://www.google.co.jp/search?q=8e063946 or
	http://www.google.co.jp/search?q=c60cdc59
TwitterException{exceptionCode=[8e063946-c60cdc59 8e063946-c60cdc2f 8e063946-c60cdc2f 8e063946-c60cdc2f], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.2}
	twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:178)
	twitter4j.HttpClientBase.request(HttpClientBase.java:53)
	twitter4j.HttpClientBase.post(HttpClientBase.java:82)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:107)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:92)
	twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:263)
	com.conovare.fishingnote.servlet.wide.StartOAuthServlet.doGet(StartOAuthServlet.java:24)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

原因

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
	sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937)
	sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
	sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
	sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478)
	sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
	sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
	sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
	sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
	sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1257)
	sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
	twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:136)
	twitter4j.HttpClientBase.request(HttpClientBase.java:53)
	twitter4j.HttpClientBase.post(HttpClientBase.java:82)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:107)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:92)
	twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:263)
	com.conovare.fishingnote.servlet.wide.StartOAuthServlet.doGet(StartOAuthServlet.java:24)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

原因

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
	sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
	sun.security.validator.Validator.validate(Validator.java:260)
	sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
	sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460)
	sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
	sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
	sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
	sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
	sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1257)
	sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
	twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:136)
	twitter4j.HttpClientBase.request(HttpClientBase.java:53)
	twitter4j.HttpClientBase.post(HttpClientBase.java:82)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:107)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:92)
	twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:263)
	com.conovare.fishingnote.servlet.wide.StartOAuthServlet.doGet(StartOAuthServlet.java:24)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

原因

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
	sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
	java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
	sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
	sun.security.validator.Validator.validate(Validator.java:260)
	sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
	sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460)
	sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
	sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
	sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
	sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
	sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
	sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
	sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1257)
	sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
	twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:136)
	twitter4j.HttpClientBase.request(HttpClientBase.java:53)
	twitter4j.HttpClientBase.post(HttpClientBase.java:82)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:107)
	twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:92)
	twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:263)
	com.conovare.fishingnote.servlet.wide.StartOAuthServlet.doGet(StartOAuthServlet.java:24)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

注意 原因のすべてのスタックトレースは、Apache Tomcat/6.0.44のログに記録されています


Apache Tomcat/6.0.44