Is it possible to upload more than 1 cert in trust store | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Anny0505
Anny0505Accepted solution
New Participant
Sep 7, 2021 5:29 PM UTC

Yes, You can upload multiple certs to your AEM Instance either through UI or with commands.

 

Here is the article to follow the steps.https://www.opsinventor.com/aem-ssl-setup-aem-6-1-6-2-java-keystore-based-ssl-configuration/

 

4 replies

Anny0505
Anny0505Accepted solution
New Participant
Sep 7, 2021 5:29 PM UTC

Yes, You can upload multiple certs to your AEM Instance either through UI or with commands.

 

Here is the article to follow the steps.https://www.opsinventor.com/aem-ssl-setup-aem-6-1-6-2-java-keystore-based-ssl-configuration/

 

Translate
kautuk_sahni
Employee
Sep 9, 2021 8:25 AM UTC

@anny0505  Good to see you back inside the AEM Community. Keep the great work of assisting others going. Looking forward to more contributions from you. 

Translate
Kautuk Sahni
Shubham_borole
New Participant
Sep 7, 2021 3:07 PM UTC

You could use 

keytool –import –trustcacerts –file /path/to/ca/ca.cer –alias CA_ALIAS 
–keystore $JAVA_HOME/jre/lib/security/cacerts

Download your desired .cer files to a path and use above command with appropriate Alias names. If the cert already exists in the trust store it will notify.

See https://docs.oracle.com/en/java/javase/13/docs/specs/man/keytool.htmlfor more details.

Translate
Level 4
Sep 7, 2021 9:58 PM UTC

Hi @shubham_borole 

I was trying to upload a cert using UI (/libs/granite/security/content/truststore.html) but when I upload another cert it overrides the old cert file even they are different cert files. I can try using keytool command.

Translate