Governor配置日志中心地址是https,测试地址连通性未通过:Caused by: java.security.InvalidAlgorithmParameterException: the t
·
问题描述:
Governor配置日志中心地址是https,测试地址连通性未通过:Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

问题原因:经查看报错该问题是由于Java应用程序中的SSL/TLS证书验证出现问题
解决方案:
参考以下方案配置后问题已解决: 将根证书导入Java的信任库(cacerts)执行命令:
keytool -import -trustcacerts -file <CA证书文件> -keystore $JAVA_HOME/lib/security/cacerts -alias <别名>
更多推荐

所有评论(0)