How to add certificate to truststore in AEM author | Community
Skip to main content
stiegjo22
New Participant
October 15, 2024
Solved

How to add certificate to truststore in AEM author

  • October 15, 2024
  • 2 replies
  • 2110 views

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.

2 replies

mohanbuddaAccepted solution
New Participant
October 16, 2024
daniel-strmecki
New Participant
October 15, 2024

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

stiegjo22
stiegjo22Author
New Participant
October 15, 2024

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