CASGP007E Password Generation error: Password policy defines effective length shorter than sum of required password components (Diagnostic information: 15, 13).

CASGP007E Password Generation error: Password policy defines effective length shorter than sum of required password components (Diagnostic information: 15, 13).

119
Created On 11/10/26 11:04 AM - Last Modified 11/10/26 15:58 PM


Symptom


Any action like verify, change or reconcile never completes. pm.log shows this error:

26/05/2023 17:33:43 [1278] CACPM474E Ending password policy Unix via SSH - 1 (ID UnixviaSSH-1) since Generate Password parameters are invalid (Error: CASGP007E Password Generation error: Password policy defines effective length shorter than sum of required password components (Diagnostic information: 15, 13).).


Environment


11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Cause


All available special characters added to the PasswordForbiddenChars field and, MinSpecial requires at least one char, thus, no special chars left for CPM to use when generating passwords.

Same can be reproduced when trying to generate a password via PVWA classic interface. This is the error seen:

image.png

See article below for the list of chars generated by CPM:
What are the Alphanumeric and Special characters used for generating a new password?
https://community.cyberark.com/s/article/00001977

 

 
 


Resolution


Either remove some special characters from the list of forbidden chars or set MinSpecial to zero

Actions
  • Print
  • Copy Link

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