Change the spiuser password in WebSphere Commerce Developer

If you set the spiuser password to something other than passw0rd in your development database, then you need to complete the following steps.


Task info

All servers in WebSphere Commerce Developer are hard coded to use passw0rd (with a zero). If you specified a different password during Loading the WebSphere Commerce Developer database schema, you need to update server properties so that the password is synchronized with the one that is in the database.


Procedure

  1. Open a command line interface and go to WCDE_installdir/bin.

  2. Encrypt the spiuser password.

      wcs_encrypt.bat <spiuser_plain_text_password>

    Ensure that the <spiuser_plain_text_password> is the same plain text password specified in Loading the WebSphere Commerce Developer database schema.

  3. Copy the ASCII encrypted string.

  4. Update the password in the Transaction server.

    1. Open the WCDE_installdir/wasprofile/config/cells/localhost/nodes/localhost/servers/server1/server.xml file.

    2. Update the value of the system property spi.password with the ASCII encrypted string.

  5. Update the password in the Search server and Store server.

    1. Open the Liberty_installdir/usr/servers/crsServer/jvm.options file.

    2. Update the value of the spi.password with the ASCII encrypted string.

    3. Open the Liberty_installdir/usr/servers/searchServer/jvm.options file.

    4. Update the value of the spi.password with the ASCII encrypted string.

  6. Update the password in the WebSphere Application Server Liberty configuration.

    1. In a command line interface, go to Liberty_installdir/bin.

    2. Run the following command to encrypt the plain text spiuser password.

        securityUtility.bat encode <spiuser_plain_text_password>

    3. Copy the output string. For example,

        {xor}Lz4sLChvLTs=

    4. Open the Liberty_installdir/usr/servers/searchServer/configDropins/overrides/userregistry.xml file.

    5. Update the value of the password with the output string.

    6. Open the Liberty_installdir/usr/servers/commerceueServer/configDropins/overrides/userregistry.xml file.

    7. Update the value of the password with the output string.

  7. If the Transaction, Search, Store, Customization servers are running, restart the servers.