Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs
SOLVED

Is it possible to upload more than 1 cert in trust store

Avatar

Level 4

Hi Team,

 

Can anyone share more information on how to upload more than 1 cert in trust store ?

 

Thank you 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

annyreddy_0-1631035685586.png

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/

 

View solution in original post

4 Replies

Avatar

Community Advisor

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.

Avatar

Level 4

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.

Avatar

Correct answer by
Community Advisor

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

 

annyreddy_0-1631035685586.png

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/

 

Avatar

Administrator

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