Building a New Encryption Key and Re-encrypting Passwords

The PeopleTools installation includes a default encryption key (psvault), which is used to encrypt the passwords that you enter during the installation. For security reasons, create a new key after you complete the installation and use the new key to re-encrypt passwords included in your PeopleSoft environment files.

  1. Use the PSCipher utility to build a new key.

    See PeopleTools: Security Administration, "Generating a Unique Encryption Key."

    For example, run the following command from <PIA_HOME>/webserv/<DOMAIN_NAME>/piabin:

    
                      pscipher.bat -buildkey
    Your environment has been set.
    A new key of version {V2.2} is generated successfully
  2. Use the new key from step 1 to re-encrypt passwords that you supply as plain text.

    See PeopleTools: Security Administration, "Using the PSCipher Utility."

  3. Replace the existing encrypted values for the passwords in web server files with the newly created encrypted passwords.

    Ensure that the password values begin with {V2.2}, which indicates the AES implementation. This table lists web server files and passwords to check.

    See PeopleTools: Security Administration, "Understanding the Advanced Encryption Standard (AES) Implementation."

    Location File Examples of Password Text

    <PIA_HOME>\webserv\<DOMAIN_NAME>\applications\peoplesoft\PSIGW.war\WEB-INF

    integrationGateway.properties

    • ig.isc.NODE_NAME.password={V2.2}XXXXXX

    • ig.isc.NODE_NAME.DomainConnectionPwd={V2.2}XXXXXX

    • Others as needed.

      There are several sections including passwords. Be sure to update all that apply to your environment.

    <PIA_HOME>\webserv\<DOMAIN_NAME>\applications\peoplesoft\PSIGW.war\WEB-INF

    gatewayUserProfile.xml

    <password>{V2.2}XXXXXX</password>

    <PIA_HOME>\webserv\<DOMAIN_NAME>\applications\peoplesoft\PORTAL.war\WEB-INF\psftdocs\<SITE_NAME>

    configuration.properties

    • KeyStorePwd={V2.2}XXXXXX

    • DomainConnectionPwd={V2.2}XXXXXX

    • WebUserId={V2.2}XXXXXX

    • WebPassword={V2.2}XXXXXX

  4. After building the new key, copy psvault from the web server location to the application server location.

    Copy from <PIA_HOME>\webserv\<DOMAIN_NAME>\piaconfig\properties.

    Copy to <PS_HOME>\secvault.