[英]AEM 6.5 PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
I have been struggling with getting AEM instances to work with the certs/keys generated by a trusted source.我一直在努力让 AEM 实例使用由可信来源生成的证书/密钥。 I am following the /libs/granite/security/content/sslConfig.html
wizard and AEM tells me everything is configured properly.我正在关注/libs/granite/security/content/sslConfig.html
向导,AEM 告诉我一切/libs/granite/security/content/sslConfig.html
正确配置。 I then try going to access my instance over https in my browser (incognito window) on my new port and my certificate is recognized by my browser.然后我尝试在我的新端口上的浏览器(隐身窗口)中通过 https 访问我的实例,我的证书被我的浏览器识别。 Finally I go to my replication agent on Author and update the configuration to use the same exact https URL/Port I just tested in my browser that worked minutes before and a simple test of that newly updated agent spits out the following error message:最后,我转到 Author 上的复制代理并更新配置以使用我刚刚在浏览器中测试过的完全相同的 https URL/端口,该 URL/端口在几分钟前工作,对新更新的代理进行简单测试时会吐出以下错误消息:
Replication test failed
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have double checked the ssl-service
and can see my cert/key is correctly installed there.我已经仔细检查了ssl-service
,可以看到我的证书/密钥已正确安装在那里。 If anyone has an idea why the replication agent is acting this way and how to fix it I'm open to suggestions.如果有人知道为什么复制代理会以这种方式行事以及如何解决它,我愿意接受建议。
Thanks谢谢
Is it a local cert?是本地证书吗? Look at the Transport tab, then choose Relaxed.查看“传输”选项卡,然后选择“轻松”。 Let me know if that helps.如果这有帮助,请告诉我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.