PSM crash after MFA Caching is enabled
Symptom
The PSM Service crashes or fails to start correctly with the below error, after enabling MFA Caching in the PVWA > Administration > Options.
[PSMSR037E Privileged Session Manager has been terminated. (Diagnostic information: PSMSR179E Failed to validate configuration file [Safe: PVWAConfig, Folder: Root, File: PVConfiguration.xml] (Error: SAX parse error (Reason: no declaration found for element 'MFACachingSettings', Code:51, 0)), -1)
Environment
12.1
PSM
Cause
This is caused by the PSMs.xsd not correctly updating on the Vault side during the PVWA upgrade. The PSMs.xds did not include the MFACachingSetting entry.
Most likely caused because 2 or more PVWA servers were not upgraded at the same time.
The PSMs.xsd is stored in the PVWAConfig Safe > (Under Root) "ConfigurationSchemas"
Resolution
-
Make sure the PVWA servers are running the same version
-
All PVWA had been upgraded and running 12.1.0.8
-
-
Copy PSMs.xsd from the PVWA ("C:\CyberArk\Password Vault Web Access\Env\")
-
Log on to the PrivateArk client
-
Open PVWAConfig Safe
-
Under Root) Select "ConfigurationSchemas" >
-
Right click on PSMs.xsd-> Select Properties-> FileCategories -> ConfigurationSchemaVersion
-
Make note of this ConfigurationSchemaVersion version number
-
-
Upload the PSMs.xsd copied in step 1 to the "ConfigurationSchemas" folder in the Vault via PrivateArk Client
-
Overwriting the existing copy
-
-
The ConfigurationSchemaVersion file category had not changed after updating this file
-
It was still pointing to version 110700
-
-
Manually update the ConfigurationSchemaVersion number to 120100 and save changes
-
Enable the MFA Caching settings from within PVWA > Administration > Options (If not enabled already)
-
Restart the PSM Server for the to be correctly pulled over from the configuration changes