This documentation is for WSO2 Enterprise Integrator version 6.5.0 (latest in the 6.x.x family). View documentation for the latest release in the 7.x.x family.
Page Comparison - Encrypting Passwords in WSO2 Micro Integrator (v.1 vs v.2) - WSO2 Enterprise Integrator 6.5.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

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

...

To encrypt passwords in configuration files, you simply have to update the cipher-text.properties and cipher-tool.properties files that are stored in the <EI<MI_HOME>/conf/security/ directory and then run the Cipher tool that is shipped with the product. Go to the links given below to see instructions in the WSO2 administration guide:

...

  1. Open a command terminal and navigate to the <MI_HOME>/bin/ directory.
  2. Execute the following command to initialize secure vault:

    On Linux/Mac OSsh securevault.sh
    On Windowssecurevault.bat
  3. You can then enter the secret alias (vault key) for the password that you want to encrypt. For example, enter 'PasswordAlias'.
  4. In the next step, enter the password of the keystore that is used for secure vault in the product. If the default product keystore is used, the password is 'wso2carbon'.
  5. Then, specify the plain text password that should be encrypted. 

...

If you want to change the expression that is used to validate the password, you need to add the org.wso2.SecureVaultPasswordRegEx system property to the <EI<MI_HOME>/conf/carbon.properties file.
Example:

...