How to reset the CPM, PSM, PSMP, and AAM/Secrets Manager (CP/CCP) users in Privilege Cloud
578
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:00 PM
Objective
This guide is written for privilege cloud customers who are running into errors with the CPM, PSM, and PSMP users. Some of these relevant errors may be covered in this guide.
- Idira Central Policy Manager Scanner fails to restart or start
- Idira Password Manager fails to restart or start
- Idira Privilege Session Manager fails to restart or start
- Users encounter the following error during a PSM session initiation
- The privileged session could not be established securely. Try to connect again though the Password Vault Web Access. If this problem persists, contact your system administrator
- The PSMTrace.log shows the following Errors
- PSMSR037E Privileged Session Manager has been terminated. (Diagnostic information: PSMSR100E Failed to get new Privileged Session Manager session. Error ITATS004E Authentication failure for User PSMApp_XXXXXX
- PSMSR037E Privileged Session Manager has been terminated. (Diagnostic information: PSMSR100E Failed to get new Privileged Session Manager session. Error ITATS004E Authentication failure for User PSMGw_XXXXXX
- You have recently migrated the host or machine to another instance (CPM/PSM/Connector)
- Recently failed an upgrade and reverted to a snapshot
- Getting errors in your PSMP logs or failures in your PSMP logs when trying to restart the PSMP service
Environment
11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.8;12.6;13.0;13.2;14.0;14.4;14.5;14.6 Privilege Cloud Central Policy Manager (CPM);Credential Provider;PSM;Central Credential Provider;PSMP;Privileged Session Management (PSM);Privilege Cloud Connector;Privilege Cloud Tenant / Backend
Procedure
Supports: PSM, CPM, CP/AIM, CP/AIM Linux & PSMP
Prerequisites:
- Currently only supported in Privilege Cloud
- Needs to be able to reach portal via HTTPS (privilegecloud.cyberark.com/cloud)
- Can run PowerShell with Admin Mode in connector server (or root for linux)
- Vault Admin User & Password (Typically <subdomain>_admin for standard tenants and InstallerUser@cyberark.cloud for Shared services tenants)
- Download the CreateCredFile-Helper.ps1 from the Marketplace
- https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU
- Find "CreateCredFile-Helper" folder
- Get this package to the local machine where you want to reset the creds
- Log into the connector machine as Local administrator
- Run Powershell, as admin, and navigate to the location of the script
- Run the CreateCredFile-Helper.ps1 with the following command
-
./CreateCredFile-Helper.ps1
- You can also run the script with additional flags:
- Debug (Verbose debugging info) - SkipVersionCheck (Recommended if machine is unable to reach github) <Example> ./CreateCredFile-Helper.ps1 -SkipVersionCheck
- You can also run the script with additional flags:
-
- On the connector, select the software you wish to reset the credential of
- '1' for CPM
- '2' for PSM
- If it is the C/CP server, you will only see one option below
- Enter your Credential
- Commonly Cyberark auth type will be your Customer_Admin account
- Commonly Cyberark auth type will be your Customer_Admin account
- If the script can't locate your Privilege Cloud Portal the script will ask you
- You do not need to include the "PasswordVault" at the end of the link
- The script will run through and reset the credential
-
-
- If there are any issues please run the script in debug mode and create a ticket to upload the log associated with this script
- The log file gets created in the same location you ran the script
Linux Machines:
Download:
https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU
Update (09/27/2023) there is now a dedicated CreateCredFile-Helper for Linux :)
It is bundled in the same folder as it's windows counterpart here:
It supports resetting PSMP, CP/AIM for linux.
Instructions are included in the readme files within the folder.
* PS, if you were used to use psmpwiz script (the tool that helps you install/Upgrade PSMP) to reset creds (pictured below), you can still absolutely do that!
Prerequisites (PSMP):
- Currently only supported in Privilege Cloud
- Needs to be able to reach PVWA portal via HTTPS (443)
- Vault Admin User (Tenant_admin or installeruser) & Password (Script executes CyberArk Auth Method against PVWA)
- Copy the script to desired cyberark machine
- Give script execute permissions using "chmod 755 createCredFile-Helper.sh "
- Run the script ./createCredFile-Helper.sh
CP/AIM Linux:
- Currently only supported in Privilege Cloud
- Needs to be able to reach PVWA portal via HTTPS (443)
- Vault Admin User (Tenant_admin or installeruser) & Password (Script executes CyberArk Auth Method against PVWA)
- Copy the script to desired cyberark machine
- Give script execute permissions using "chmod 755 createCredFile-Helper.sh"
- Run the script ./createCredFile-Helper.sh