How to reset the CPM, PSM, PSMP, and AAM/Secrets Manager (CP/CCP) users in Privilege Cloud

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.

  1. Idira Central Policy Manager Scanner fails to restart or start
  2. Idira Password Manager fails to restart or start
  3. Idira Privilege Session Manager fails to restart or start
  4. 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
  5. 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
  6. You have recently migrated the host or machine to another instance (CPM/PSM/Connector)
  7. Recently failed an upgrade and reverted to a snapshot
  8. 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)
Windows Machines:
  1. Download the CreateCredFile-Helper.ps1 from the Marketplace
    1. https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU
    2. Find "CreateCredFile-Helper" folder
    3. Get this package to the local machine where you want to reset the creds
  2. Log into the connector machine as Local administrator
  3. Run Powershell, as admin, and navigate to the location of the script
  4. Run the CreateCredFile-Helper.ps1 with the following command
    1. ./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
  5. On the connector, select the software you wish to reset the credential of
    • '1' for CPM
    • '2' for PSM
      Select your software type
    • If it is the C/CP server, you will only see one option belowimage
  1. Enter your Credential
    • Commonly Cyberark auth type will be your Customer_Admin account
      Login with your username and password
  2. If the script can't locate your Privilege Cloud Portal the script will ask you 
  3. The script will run through and reset the credential
    • ​​​Update of the file is completed
  4. 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
For a video review, please see below:


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:

image

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
image2022-5-27_17-32-21.png image2022-5-27_17-5-35.png

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

image



Actions
  • Print
  • Copy Link

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