0

我正在使用基于 webscarab jar 构建的代理来拦截 HTTP 请求和响应。当我点击一个特定的 https URL 时,我得到了

javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates do not conform to algorithm constraints which is caused by java.security.cert.CertPathValidatorException: Algorithm constraints check failed on signature algorithm: MD2withRSA.

尽管没有 webscarab,但请求会得到正确的响应。我尝试在文件中评论属性jdk.certpath.disabledAlgorithms,但仍然出现错误。我当前的 java 版本是 1.8.152。如果我们拦截请求,请求会使用 Fiddler 获得正确的响应。有人可以帮助我理解为什么会发生此错误并给我任何解决此问题的建议吗?jdk.tls.disabledAlgorithmsjava.security

4

1 回答 1

0

你确定你真的要使用 WebScarab 吗?它不再被维护。

另一方面,ZAP 非常积极地维护 :) https://github.com/zaproxy/zaproxy

于 2018-03-26T08:34:27.257 回答