java.security.InvalidAlgorithmParameterException--记录异常及解决办法
一、出现原因
使用HttpClient通过代理服务器发送https请求时发生
异常信息:
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.<init&
原创
2021-03-09 17:17:22 ·
6982 阅读 ·
3 评论