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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

_SumitSinghal
Level 4
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
ArunaSurukunta
Correct answer by
Level 4
Level 4

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
snbaem
Community Advisor
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.

_SumitSinghal
Level 4
Level 4

Hi @snbaem 

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.

ArunaSurukunta
Correct answer by
Level 4
Level 4

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

kautuk_sahni
Community Manager
Community Manager

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