Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

How to change keystore and truststore password in AEM

Avatar

Level 4

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,keystore.PNG the server do not come up.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

3 Replies

Avatar

Community Advisor

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";

 

}

Avatar

Correct answer by
Community Advisor

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.

Avatar

Level 3

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