赞
踩
如果用相同的命令(完全一样)生成的俩证书,一个在客户端使用, 一个在服务器端调用
那么在验证的过程中也会失败
- sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
- at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:350)
- at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:260)
- at sun.security.validator.Validator.validate(Validator.java:260)
- at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
- at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
- at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:107)
- at snippet.Snippet$MyX509TrustManager.checkServerTrusted(Snippet.java:87)
- at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:885)
- at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:142
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。