Rest API Webservice fail when using HTTPS on PVWA
127
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM
Symptom
When using a Rest API webservices with the HTTPS protocol with PVWA, the IIS returns the error code 404 (Not Found)
In logs you can see the error:
POST /PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/logon - 443 - 10.123.456.111 - 404 0 64 36
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
Even when the PVWA website is configured and working with the Protocol HTTPS, the bindingConfiguration in the web.config is incorrect.
Resolution
Go to C:\inetpub\wwwroot\PasswordVault directory on the PVWA server and backup the web.config file.
Then edit the parameter bindingConfiguration="httpBinding" to bindingConfiguration="httpsBinding" for the following services
CyberArk.WSAuthentication.Cyberark.CyberArkAuthenticationService
CyberArk.PasswordVault.WebServices.WF.PIMServices
CyberArk.WSAuthentication.Shared.RestfulAuthenticationService
CyberArk.WSAuthentication.SAML.SAMLAuthenticationService
CyberArk.PasswordVault.WebServices.WF.PIMServices
CyberArk.WSAuthentication.Shared.RestfulAuthenticationService
CyberArk.WSAuthentication.SAML.SAMLAuthenticationService
Do NOT edit the parameter for CyberArk.WSAuthentication.Shared.AuthenticationService. Doing so will result in the below:
Status: 500 System.ServiceModel.ServiceActivationException
Additional Information
Details
SYMPTOM:
When using a Rest API webservices with the HTTPS protocol with PVWA, the IIS return error code 404 (Not Found)
In logs you can see the error:
POST /PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/logon - 443 - 10.254.217.142 - 404 0 64 36
PROBLEM:
Even when the PVWA web site is configured and working with the Protocol HTTPS, the bindingConfiguration in the web.config are incorrect.
SOLUTION:
Go to C:\inetpub\wwwroot\PasswordVault directory on the PVWA server and backup the web.config file.
Then edit the parameter bindingConfiguration="httpBinding" to bindingConfiguration="httpsBinding" for the following services
CyberArk.WSAuthentication.Cyberark.CyberArkAuthenticationServiceCyberArk.PasswordVault.WebServices.WF.PIMServicesCyberArk.WSAuthentication.Shared.RestfulAuthenticationServiceCyberArk.WSAuthentication.SAML.SAMLAuthenticationService
Do NOT edit the parameter for CyberArk.WSAuthentication.Shared.AuthenticationService. Doing so will result in the below:
Status: 500 System.ServiceModel.ServiceActivationException