我正在使用Clojure中的
我尝试寻找一个简单的解决方案,发现有一些建议通过编程来解决。难道没有一种简单的方法吗?我只是想获取一个网页。在这种情况下,我甚至不关心安全性。我能让Java放松一下吗?
感谢您的建议。
http-kit
,当访问一个https://
页面时,我会遇到unable to find valid certification path to requested target
的错误提示。:cause unable to find valid certification path to requested target
:via
[{:type javax.net.ssl.SSLHandshakeException
:message General SSLEngine problem
:at [sun.security.ssl.Handshaker checkThrown Handshaker.java 1375]}
{:type javax.net.ssl.SSLHandshakeException
:message General SSLEngine problem
:at [sun.security.ssl.Alerts getSSLException Alerts.java 192]}
{:type sun.security.validator.ValidatorException
:message PKIX path building failed: sun.security.provider.certpath.SunCertPathBui
lderException: unable to find valid certification path to requested target
:at [sun.security.validator.PKIXValidator doBuild PKIXValidator.java 387]}
{:type sun.security.provider.certpath.SunCertPathBuilderException
:message unable to find valid certification path to requested target
:at [sun.security.provider.certpath.SunCertPathBuilder build SunCertPathBuilder.j
ava 145]}]
我尝试寻找一个简单的解决方案,发现有一些建议通过编程来解决。难道没有一种简单的方法吗?我只是想获取一个网页。在这种情况下,我甚至不关心安全性。我能让Java放松一下吗?
感谢您的建议。