Http Error 404 for Gen1 API Authentication
Symptom
An HTTP 404 error is returned when attempting authentication through the V1 REST API.
Environment
12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Cyber-Ark API/SDK
Password Vault Web Access Rest API
Cause
A misconfiguration on the web.config file
Resolution
Access the PVWA server and open the 'web.config' file located in the 'C:\inetpub\wwwroot\PasswordVault' directory.
Then, find the following:
<service behaviorConfiguration="defaultBehavior" name="CyberArk.WSAuthentication.Cyberark.CyberArkAuthenticationService">
<endpoint name="AuthEndpoint" address="/" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="httpBinding" contract="CyberArk.WSAuthentication.Cyberark.ICyberArkAuthenticationService" />
</service>
Update the 'bindingConfiguration' value from httpBinding to httpsBinding, save the changes, and then execute an IIS reset.