再会,
我有 2 个应用服务器,比如说 App1 和 App2。
我在 App2 中有一个自签名证书,我将此自签名证书导入 App1。但是我的 App1 仍然无法连接到 App2 https url,它遇到了以下错误:
{
"errorCode": "RSERR002",
"message": "REST call failure with exception [sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]"
}
从 App1,我正在尝试使用命令来测试自签名证书,以验证我是否可以使用此证书访问 App2 https url。
如果命令连接成功,那么我可能会怀疑我将自签名证书导入 App1 的方式是错误的。有了这个,我可以更具体地知道问题是什么。
类似于使用命令加载证书,然后 curl -i 到 url?
我尝试谷歌,但无法获得命令,这样的命令存在吗?应用服务器部署在 RED HAT Jboss 中。