Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javax.net.ssl.SSLPeerUnverifiedException异常问题 #361

Open
daxiong294 opened this issue Sep 14, 2018 · 2 comments
Open

javax.net.ssl.SSLPeerUnverifiedException异常问题 #361

daxiong294 opened this issue Sep 14, 2018 · 2 comments
Labels
waiting-for-info Issue is not actionable because of missing required information, which needs to be provided.

Comments

@daxiong294
Copy link

使用java-sdk时出现这个错误:javax.net.ssl.SSLPeerUnverifiedException: Hostname uc.qbox.me not verified:
可有遇到过这种情况?(没有引用happy-dns-java包)

@forrest-mao
Copy link

目前使用最新版本的 java sdk 是否还会遇到类似问题。

@forrest-mao forrest-mao added the waiting-for-info Issue is not actionable because of missing required information, which needs to be provided. label Jul 21, 2020
@wangaowell
Copy link

我使用 JDK 8 ,在 spring cloud 项目中使用上传,报
`Caused by: 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.validator.PKIXValidator.doBuild(PKIXValidator.java:387)

at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)

at sun.security.validator.Validator.validate(Validator.java:260)

at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)

at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1351)

... 142 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)

at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)

at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)

at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-info Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants