CPM - CACPM688E PuttyGen execution failed. Reason: puttygen: unable to load file `.\tmp\keygen_in-<Platform name> not a private key

CPM - CACPM688E PuttyGen execution failed. Reason: puttygen: unable to load file `.\tmp\keygen_in-<Platform name> not a private key

119
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:10 PM


Symptom


When you reconcile a target account that is a member of an Account Group. The CPM does not generate a new SSH Key pair and reconcile all members of the group to that new Key pair. Rather it attempts to reconcile just the target account to bring it into sync with the group by setting the already existing SSH Key of the group as the SSH Key of the target account. The problem here is that this is a new group which has no SSH Key in it, so when the CPM attempts to read the content of the Group, it sees that a blank/empty value is not a private key.



Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)

Central Policy Manager (CPM) Unix via SSH Keys



Cause


When you create an account Group for "SSH Key Group" Platform to manage SSH Key group accounts.
A new/empty Account Group has been created. This means that there is now an account group in the Vault that would hold the SSH Key for the group; however, since it was just created, no SSH Key has been placed in it. 

 



Resolution


You can first perform “change"  action  so that a new SSH Key pair is generated for the group and all members are then changed to that new SSH Key pair. After these processes, there will be a private key in the Group and subsequent target accounts can now be reconciled to it.

Note: When you perform the change action you may get an error similar to the following : ImmediateTask. Failure Description: Execution error. Private SSH Key format is invalid

Run reconcile and the result should be successful



Actions
  • Print
  • Copy Link

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