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

How to add certificate to truststore in AEM author

  • October 15, 2024
  • 2 replies
  • 2113 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

daniel-strmecki
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
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
Level 4
October 15, 2024

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

 

mohanbuddaAccepted solution
Level 2
October 16, 2024