camel HTTP4 JBoss:找不到请求目标的有效证书路径

camel HTTP4 JBoss:找不到请求目标的有效证书路径,jboss,jbossfuse,camel-http,Jboss,Jbossfuse,Camel Http,我从UAA服务请求访问令牌。收到代币。然后使用令牌将文件上载到AWS环境。现在它可以在一个环境下工作,而不能在另一个环境下工作。唯一可以发现的主要区别是,有效的使用SSO auth,不起作用的使用UAA auth。因为我从UAA服务器/服务请求令牌,并使用它将数据文件发布到环境中,所以我没有使用密钥存储。我得到以下错误 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path

我从UAA服务请求访问令牌。收到代币。然后使用令牌将文件上载到AWS环境。现在它可以在一个环境下工作,而不能在另一个环境下工作。唯一可以发现的主要区别是,有效的使用SSO auth,不起作用的使用UAA auth。因为我从UAA服务器/服务请求令牌,并使用它将数据文件发布到环境中,所以我没有使用密钥存储。我得到以下错误

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我正在使用JBoss Fuse JBoss Fuse(6.3.0.redhat-310)容器运行我的应用程序包

爪哇8 Camel-HTTP4至post

如果您有任何建议或帮助,我们将不胜感激,我是否还缺少什么?有什么特别需要做的吗?谢谢大家!

哦,是的,当我在《邮递员》中这样做时,它就起作用了?没有保险丝? 它也适用于Curl

HTTP/1.1 200 Connection Established
Proxy-Agent: Zscaler/6.0

HTTP/1.1 100 Continue
Server: Zscaler/6.0

HTTP/1.1 201 Created
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Length: 0
Corr: ef75916afaf1db34
Date: Tue, 05 Jun 2018 22:58:27 GMT
Expires: 0
Pragma: no-cache
Server: none
X-Application-Context: APMTS:cloud:10
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Vcap-Request-Id: 1b964238-0dbc-4c09-7c6f-0bc429698584
X-Xss-Protection: 1; mode=block


 

发现我的问题是证书。我找到了这些系统的证书,并将其导入java密钥库。问题解决了

谢谢大家