Skip to main content
stiegjo22
Level 4
Oct 15, 2024 3:56 PM UTC
Solved

How to add certificate to truststore in AEM author

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)
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

daniel-strmecki
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Oct 15, 2024 4:34 PM UTC

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

Translate
stiegjo22
stiegjo22Author
Level 4
Oct 15, 2024 5:15 PM UTC

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

 

Translate
mohanbuddaAccepted solution
Level 2
Oct 16, 2024 10:25 AM UTC