2015-01-07 35 views
5

cacertsJDK1.6 keytoolを使用して生成しています。JavaバージョンとのCacertsの互換性

そこで私は、これはJRE1.7を使用してファイルをcacertsを使用していますが、私は次のように例外を取得:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed 
     at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) 
     at sun.security.ssl.Handshaker.fatalSE(Unknown Source) 
     at sun.security.ssl.Handshaker.fatalSE(Unknown Source) 
     at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) 
     at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) 
     at sun.security.ssl.Handshaker.processLoop(Unknown Source) 
     at sun.security.ssl.Handshaker.process_record(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) 
     at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) 
     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) 
     at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) 
     at com.sun.identity.setup.OpenSSOConfigurator.main(OpenSSOConfigurator.java:172) 
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed 
     at sun.security.validator.PKIXValidator.doValidate(Unknown Source) 
     at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) 
     at sun.security.validator.Validator.validate(Unknown Source) 
     at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) 
     at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) 
     at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) 
     ... 12 more 
Caused by: java.security.cert.CertPathValidatorException: signature check failed 
     at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source) 
     at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(Unknown Source) 
     at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source) 
     at java.security.cert.CertPathValidator.validate(Unknown Source) 
     ... 18 more 
Caused by: java.security.SignatureException: Signature does not match. 
     at sun.security.x509.X509CertImpl.verify(Unknown Source) 
     at sun.security.provider.certpath.BasicChecker.verifySignature(Unknown Source) 
     at sun.security.provider.certpath.BasicChecker.check(Unknown Source) 
     ... 22 more 
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed 
     at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
     at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) 
     at sun.security.ssl.Handshaker.fatalSE(Unknown Source) 
     at sun.security.ssl.Handshaker.fatalSE(Unknown Source)2015-01-07 19:22:02 IST - ERROR: Problems - bootstrap file not created 

この互換性の問題ですか? cacertsは、あるバージョンのjavaを使用して生成され、別のバージョンのjavaと互換性がありませんか?

+1

CAは、Java 7には有効でないように見えます。おそらくそれは取り消されました。 –

+0

@Batty私の答えが正しいかどうかチェックできますか? –

答えて

2

は、すでに述べたように、あなたの問題に対する答えが後にリリースとSunのパッケージの多くれたキーストアプロバイダのJava 6が日曜とJava 7を購入する前にオラクルにリリースされたとして、あなたはSUNを使用しているあるanother answer

で説明しました現在は推奨されていません。詳細については

は、公式ドキュメントを読んで:Java Cryptography Architecture Oracle Providers Documentation for Java Platform Standard Edition 7

関連する問題