Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
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

2 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.