Recreate credfile after upgrading Credential Provider from 32 bit to 64 bit

Recreate credfile after upgrading Credential Provider from 32 bit to 64 bit

133
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:51 PM


Symptom


When upgrading the Credential Provider from 32 bit to 64 bit, the credfile needs to be recreated since it exists in a new path.

Note:
To upgrade from 32 bit to 64 bit, you should uninstall the 32-bit Credential Provider and install the 64-bit Credential Provider as stated in this document here:

https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/CP-Interactive-Upgrade-Windows.htm

In place upgrades from 32 bit to 64 bit are unsupported.


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Credential Provider Credential Provider (CP)

Cause


In the 12.x branch of Credential Providers, there are separate 32 and 64 bit installers. With this change, the folder structure goes from Program Files (x86) to just Program Files, therefore losing access to the older config files. We also adjusted the security of the cred files, so a new one will be needed when upgrading from pre 12.x. 
 


Resolution


Ways to resolve

1) Remove the Prov user from the system via PrivateArk Client Tools>Administrative Tools>Users and Groups.

-This will force the system to auto create a new credfile and won't conflict with previous data.

2) Recreate the credfile and place it in the new expected location in order to avoid any issues. Below are examples of what would be needed: 

When CP version is lower than 12.1:

  1. Before the upgrade confirm user can retrieve passwords
  2. Reset provider password using PrivateArk Client set a new password
  3. On the CP server, copy the CP Win x64 version
  4. Run CreateCredFile.exe (you will find the file in the installation folder) with the same file name as exists in the folder C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Vault and set the password you configured in step 2
    CreateCredFile.exe AppProviderUser.cred
    The user name is in the Original AppProviderUser.cred file for example --> Username=Prov_WIN-VM632JL1TRV
  5. Create a new Folder --> C:\Program Files\CyberArk\ApplicationPasswordProvider\Vault 
  6. Copy the new credfile from step 4 to the path in step 5
  7. Uninstall CP from the server
  8. Run custom installation and change the Provider User Name to the user you used in step 4
  9. Start CP service

When CP is 12.1 or higher:

  1. Before the upgrade confirm user can retrieve a password
  2. On the CP server, copy the CP Win x64 version
  3. Copy the credfile from C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Vault to C:\Program Files\CyberArk\ApplicationPasswordProvider\Vault (the path does not exist, you need to create it)
  4. Uninstall CP from the server
  5. Run custom installation and change the Provider User Name to the user in the credfile 
  6. Open Env and confimr is set to C:\Program Files\CyberArk\ApplicationPasswordSDK
  7. Start CP service

For upgrading with a different path than  C:\Program files x86\Cyberark:

  1. Before the upgrade confirm user can retrieve password
  2. On the CP server, copy the CP Win x64 version
  3. Uninstall CP from the server
  4. Run installation and change the Path to C:\Program Files (x86)\CyberArk\ApplicationPasswordSDK 
  5. Start CP service

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000ku5CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail