CPM - StoreKeyinCache and OverrideOnInvalidKeyInCache Does Not Work For Unix Via SSH Keys Platform

CPM - StoreKeyinCache and OverrideOnInvalidKeyInCache Does Not Work For Unix Via SSH Keys Platform

151
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:53 PM


Symptom


For the Unix via SSH Keys Platform, the temporary override of the Fingerprint explained in the document link below is not supported: 
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/Plugins/Configure-SSH-features.htm?Highlight=OverrideOnInvalidKeyInCache#Temporarilyoverrideatargetsfingerprint 

Parameter Location:
PVWA=> Administration => Platform Settings => Target Platform => Automatic Password Management => Additional Policy Settings > Parameters=> Right click on parameters => Add parameter 

Parameter:
StoreKeyInCache

Parameter Location:
1. Login to PVWA Platform Management =>Edit the platform in question => Expand UI & Workflows => Expand Properties => Optional => Right click on "Optional" > Add property => OverrideOnInvalidKeyInCache
 

2. Login to PrivateArk Client as vault Admin => File => Server File Categories =New: 
Name: OverrideOnInvalidKeyInCache
Type: List
Add Yes and No

FileCat1.JPG

FileCat2.JPG



Environment


Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)

Central Policy Manager (CPM) | Unix via SSH Keys Platform



Cause


The OOTB 'Unix SSH Keys' platform uses the PMUnixSSHKeys.dll, it does not support the StoreKeyInCache / OverrideOnInvalidKeyInCache parameter.



Resolution


In this case, for Unix Via SSH Keys platform, you will have to clear the target's fingerprint that is stored in the CPM server. Remove the corresponding key(identified using ssh-ed25519@IP) from the below registry path in the CPM server.  

 

- If CPM runs under Local System account:
HKEY_USERS\.Default\Software\CyberArk\Expect.NET\HostKeys

- If CPM runs on a specific account (you must log in with the same account): HKEY_CURRENT_USER\Software\CyberArk\Expect.NET\HostKeys



Actions
  • Print
  • Copy Link

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