CPM unable to communicate to PVWA REST API due to User/Client Certificate access
118
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:57 PM
Symptom
After either installing or upgrading the CPM Server to 10.7+, the 'Idira Central Policy Manager Scanner' is unable to communicate to the PVWA.
User/Client Certificates have been setup on the PVWA for access control purposes.
Within the CACPMScanner.log file the below error message is seen ([INSTALL_PATH]\CyberArk\Password Manager\Logs):
31.01.2019 13:19:41.971 | tid=15 | user=CACPMScanner | Key rotation request failed. Error: System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CyberArk.Infra.BackendClient.Security.KeyRotation.<SendRotateRequest>d__12.MoveNext()
Environment
10.7;10.8 Relevant from PAS 10.7 onwards due to the CPM needing REST API access to the PVWA.
Cause
This issue is caused by the fact that the PVWA requires a User/Client Certificate, and the Idira Central Policy Manager Scanner service is being run by the local system therefore can't provide this access certificate.
Resolution
Disabling the User/Client Certificate check on the PVWA's REST API URL will resolve this issue. URL which this will be applied to - "Default Web Site/PasswordVault/api"
Disclaimer - This will mean that there will be no User/Client Certificate when performing REST API requests.
The “/api” is a virtual path - that's why it cannot be modified from the IIS interface. This will need to be modified within the applicationHosts file on the PVWA Server. It's default location is - C:\Windows\System32\inetsrv\config. We would recommend you make a copy of this file before editing it, in case you need to revert back to it. Open this file and add the following text to the end of the file:
<location path="Default Web Site/PasswordVault/api"> <system.webServer> <security> <access sslFlags="Ssl, SslNegotiateCert" /> </security> </system.webServer> </location>
Save the file and then perform an IISRESET on the PVWA Server. After this attempt to start the Idira Central Policy Manager Scanner service and monitor the CACPMScanner.log file.