Follow

AAPS service connection is not working with SSL

Issue

AuthAnvil Password Server does not properly connect to its web service (AAPS.svc) using HTTPS. A service connection may be initiated by a Sync Agent, by AuthAnvil SSO, or by AuthAnvil PWS on the login page. You May also notice that the Sync Agent Service will not start on the configured Server.

 

Cause

AAPS v2.0 will look for an HTTPS binding during the installation. If it is not detected, the AAPS/AAPS.svc service will not have an https binding created in the web.config file. This means any service connections to https:// <yourAAPSserver> /AAPS/AAPS.svc will fail with a 404 error.

Note: The https service URL may still resolve properly in a browser, as the internal connection is established with "http".

 

Resolution

Fix #1

Upgrade to v2.5 as this issue is resolved in this updated version.  You can upgrade to v2.5 of Password Server following this Guide


Fix #2

If you must use v2.0 please follow directions below.

To resolve this issue the HTTPS binding must be added to the web.config manually.

Note: Before proceeding with the configuration below, backup the file C:\Program Files\Scorpion Software\AuthAnvil Password Server\AAPS\web.config by copying it to another location.

Run notepad as an administrator and open C:\Program Files\Scorpion Software\AuthAnvil Password Server\AAPS\web.config. Scroll down near Line 122 and you should see this section:

</services>       

<service behaviorConfiguration="CustomAuthValidator" name="ScorpionSoftware.AuthAnvil.PasswordServer.AAPSService">    

<endpoint binding="basicHttpBinding" bindingConfiguration="BASICHttpBinding_IAAPSService" contract="ScorpionSoftware.AuthAnvil.PasswordServer.IAAPSService" />       

</service>     

</services>

This only includes the "HTTP" binding, so we will need to add one more section for "HTTPS".

 Replace the above <services> section with the following code, making sure to overwrite only the section from from <services> to </services>:

 

<services>       

<service behaviorConfiguration="CustomAuthValidator" name="ScorpionSoftware.AuthAnvil.PasswordServer.AAPSService">

<endpoint binding="basicHttpBinding" bindingConfiguration="BASICHttpBinding_IAAPSService" contract="ScorpionSoftware.AuthAnvil.PasswordServer.IAAPSService" />         

<endpoint binding="basicHttpBinding" bindingConfiguration="HTTPSBinding_IAAPSService" contract="ScorpionSoftware.AuthAnvil.PasswordServer.IAAPSService" />       

</service>     

</services>

Save the web.config and close down your browser. Recycle the AAPS application pool in IIS (Right-click > Recycle) and retry the service connection that was failing previous (e.g. Sync Agents, AuthAnvil SSO password launch connection, AuthAnvil PWS login). 

Note: To verify that the internal service connection is correct, follow the instructions in Appendix B of the Install Guide

 

Affects

AuthAnvil Password Server v2.0

 

Questions?

If you have any questions or need some help, we would be happy to assist. Open a case at help.scorpionsoft.com or send an email to support@scorpionsoft.com.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk