fif*_*uri 9 java security validation ssl clojure
我http-kit在Clojure中使用,当访问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]}]
Run Code Online (Sandbox Code Playgroud)
我试图找到一个简单的解决方案,我看到有建议以编程方式解决它.是不是有一些简单的方法,我只是想得到一个网页.我甚至不关心这种情况下的安全性.我可以让java放松一下吗?
谢谢你的建议..
http/get需要"不安全吗?" 选项:
@(http/get "http://gombaszog.sk" {:insecure? true})
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1065 次 |
| 最近记录: |