Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The <Password> element should indicate the password of the keystores file.
The <KeyPassword> element should point to the password required to access the private key.

The <KeyPassword> element should not be changed manually if it is not changed by the key tool. However, it can be changed using the following command:

keytool -keypasswd -alias <key_name> -keystore <keystore_name>

 

The keystores used to encrypt administrator passwords and other confidential information in Carbon is are configured in ESB_HOME/repository/conf/carbon.xml file. This keystores configuration can be found under the <security> element of the carbon.xml file.

Code Block
<KeyStore>
	<Location>${carbon.home}/resources/security/wso2carbon.jks</Location>
	<Type>JKS</Type>
	<Password>wso2carbon</Password>
	<KeyAlias>wso2carbon</KeyAlias>
	<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
Info
titleTip

If you change a keystore password, you need to update the following configuration files with the new password for the change to be effective.

  • <PRODUCT_HOME>/repository/conf/carbon.xml
  • <PRODUCT_HOME>/repository/conf/axis2/axis2.xml (In the Transport Ins (Listeners) and Transport Outs (Senders) sections for the relevant transport)