Http Error 404 for Gen1 API Authentication

Http Error 404 for Gen1 API Authentication

135
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:51 PM


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.



Actions
  • Print
  • Copy Link

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