How to change keystore and truststore password in AEM

Avatar

Avatar

ranadyutis95334

Avatar

ranadyutis95334

ranadyutis95334

06-01-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

07-01-2021

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.

Answers (1)

Answers (1)

Avatar

Avatar

SureshDhulipudi

MVP

Avatar

SureshDhulipudi

MVP

SureshDhulipudi
MVP

07-01-2021

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

 

}