Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

How to add certificate to truststore in AEM author

Avatar

Level 4

I'm getting the following error in my AEM author and need to add a certificate to the Java truststore. What are the steps to add the .pem file? Thanks.

 

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
2 Replies

Avatar

Level 5

Certificates are added to Java via the Keystore tool. There are plenty of tutorials available like this one: https://www.ibm.com/docs/en/cognos-tm1/10.2.2?topic=ictocyoiatwas-add-certificates-jre-keystore. There is nothing specific to AEM, you should add to the JVM used to run AEM.

 

Good luck,

Daniel

Avatar

Level 4

Thanks but I tried that. Also no change in the error after adding the certificate to the Global trustStore.

 

global-trust.png