CPM - Plugin did not run as expected after migrating from PMTerminal to TPC

CPM - Plugin did not run as expected after migrating from PMTerminal to TPC

173
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:51 PM


Symptom


When Migrating from PMTerminal to TPC ,some functionalities stopped working.



Environment


14.2;14.5 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) Central Policy Manager (CPM) PMTerminal Migration

Cause


TPC uses Renci client as it’s SSH Client by default.

PMTerminal exclusively use plink as it’s SSH Client.

When migrating from PMTerminal to TPC we are going to be using Renci client by default.

You might run into issue where some functionalities that works using plink client may not work using Renci client. 



Resolution


  To Enable use Plink in your CPM configuration. Follow these steps:

1.    Backup and Modify Configuration Files:
Copy UnixProcess.ini and UnixPrompts.ini from the /bin folder.
Rename the copied files to UnixPlinkProcess.ini and UnixPlinkPrompts.ini.

2.    Open UnixPlinkProcess.ini.
In the [parameters] section, add 
UsePLINK=Yes.

3.    Download plink.exe from  the following site: 
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Rename the downloaded file to avoid overriding any existing plink.exe. For example,  rename it to  plink081.exe.
Place this renamed plink081.exe in the CPM bin folder.

4.    Modify the following lines in UnixPlinkProcess.ini:
StartSession=(spawn)bin\\plink081.exe <address> -<protocol> -P <port>
StartSessionWithSSHKeys=(spawn)bin\\plink081.exe <address> -i $ssh_Key_parameter

 
Please note that the above examples are for a typical UnixPlinkProcess.ini file. Depending on your specific environment and plugin, the file structure may differ. You will need to update all instances of plink.exe mentioned in your process.ini file.
 You can do this by searching for plink.exe and replacing it with plink081.exe.

5.    Update the process and prompts file names that you renamed in Step 1 in the Additional Policy Settings to reflect the new files.
Log in to PVWA.
Navigate to Administration > Platform Management > Edit the required platform.
Right-click Automatic Password Management.
If not already done:
Add Additional Policy Settings.
Navigate to Additional Policy Settings.
Update the PromptFileName and ProcessFileName to the new filenames you used.

 
For details, refer to the documentation section that starts with: Connect over SSH using Plink 
https://docs.cyberark.com/PAS/latest/en/Content/SDK/TPC-process.htm#Spawn

6.    Once that’s done 
Attempt the verify or change action. 


Actions
  • Print
  • Copy Link

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