PTA PAS integration fails with "Failed to save EPV connectivity, no connection to EPV services"
Symptom
When setting up up PAS connectivity in PTA you get an error "Failed to save EPV connectivity, no connection to EPV services. " when trying to save, using both HTTP and HTTPS connections
the diamond.log file on the PTA server shows the following error:GNL0161E :: Unexpected exception during rest service to 'https://<webserver address>:443/PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/logon'. reason: '404 Not Found'
and a similar error shows in IISlogs.
Other possible errors:
|
Error 500 is returned |
There are more than 1 bind for port 443 in the IIS Configuration. |
|
Error 404 is returned |
The endpoint bindingConfiguration was httpBinding, needs to be httpsBinding |
|
Error 405 is returned for PUT verb |
Need to disable WebDAVModule and WebDAV handler http://stackoverflow.com/a/14465655 Remove it from IIS Features using the Server Manager > Add or remove features |
Environment
10.9;10.10;11.1;11;11.2;11.3;11.4;11.5
PTA
PVWA
Cause
Even though the PVWA web site is configured and working with the Protocol HTTPS, the binding Configuration in the web.config are 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"in two sections below.-AuthenticationService
-WebServices
<services>
<service behaviorConfiguration="defaultBehavior" name="CyberArk.WSAuthentication.Cyberark.CyberArkAuthenticationService">
<endpoint name="AuthEndpoint" address="/" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="httpBinding" contract="CyberArk.WSAuthentication.Cyberark.ICyberArkAuthenticationService" />
</service>
<service behaviorConfiguration="defaultBehavior" name="CyberArk.PasswordVault.WebServices.WF.PIMServices">
<endpoint name="PIMEndpoint" address="/" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="httpBinding"contract="CyberArk.PasswordVault.WebServices.WF.IPIMServices" />
</service>