CASW014E Agent user logon failed. Reason: CASCF034E Cannot decrypt password from file ... RC = -2166007

CASW014E Agent user logon failed. Reason: CASCF034E Cannot decrypt password from file ... RC = -2166007

199
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:52 PM


Symptom


After a PVWA downtime and reboot, PVWA application does not open. In the logs, there is error:

CASEW014E Agent user logon failed. Reason: CASCF034E Cannot decrypt password from file [<drive:>\CyberArk\Password Vault Web Access\CredFiles\<appuser.ini or gwuser.ini>] using application verifiers - are you authorized to use this credentials file? Rc = -2166007

You may have referred to the following article to assist to create the cred file.

 

https://community.cyberark.com/s/article/PVWA-How-can-I-create-or-update-the-credential-files-credfile-for-the-PVWA-manually-VERSION-12-1-1-and-above-ONLY

 



Environment


12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access Password Vault Web Access System Health Page

Cause


The PVWA cred file in the error message, appuser.ini or gwuser.ini, has a typo or other error. The associated entropy files may also have error.



Resolution


Review the cred files in <drive:>\CyberArk\PasswordVault\Credfiles.

Ensure that there are no typos in the username. Compare with the usernames in PrivateArk client for this associated PVWA server.

 

For a single PVWA server environment, the default usernames are:

 

In appuser.ini:

PVWAAppUser

 

In gwuser.ini:

PVWAGWUser

 

In a multiple PVWA server environment, the default usernames ascend as follows:

 

In PVWA Server 1:

PVWAAppUser1

PVWAGWUser1

 

In PVWA Server 2:

PVWAAppUser2

PVWAGWUser2

 

Before resetting cred files, be sure to delete or move the old .entropy files in <drive:>\CyberArk\PasswordVault\Env. If the old entropy files are still present during cred file creation, then they may cause unexpected behavior.



Actions
  • Print
  • Copy Link

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