Skip to main content
ranadyutis95334
Level 3
Jan 7, 2021 7:16 AM UTC
Solved

How to change keystore and truststore password in AEM

Hi,

Can someone tell me how do we change the password for keystore and truststore. When I change the password directly from CRXDE and restart, the server do not come up.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ankur_Khare
Ankur_KhareAccepted solution
Community Advisor
Jan 8, 2021 2:35 AM UTC

Whenever u create a keystore or truststore a node gets created in aeem .

To change the password you nèed to delete previously created node in crxde and recreate through ui.

Ankur

3 replies

SureshDhulipudi
Community Advisor
Community Advisor
Jan 7, 2021 5:13 PM UTC

you can write a config service to update the details

 

@ObjectClassDefinition(name="Config Service", description="This configuration is to update keystore password")
public @interface Configuration {

@AttributeDefinition(name = "Keystore password",
description = "The password to access the some configuration key password")
String keystorePassword() default "defulatkeypassword";

 

}

Translate
Ankur_Khare
Community Advisor
Ankur_KhareCommunity AdvisorAccepted solution
Community Advisor
Jan 8, 2021 2:35 AM UTC

Whenever u create a keystore or truststore a node gets created in aeem .

To change the password you nèed to delete previously created node in crxde and recreate through ui.

Translate
Ankur
Level 3
Jul 3, 2024 3:57 PM UTC

Hi @ankur_khare ,
We have a situation to change the truststore password and unfortunately we don't have the current one. Ours is AEM as a Cloud Service. In this case, if I need to remove the existing truststore and create a new one, how can I do it? CRX/DE is not accessible in AEM cloud service. Can you please advise?

Thanks,
Rahul

Translate