000030778 - RSA Authentication Agent 8.0 for Web for IIS on SharePoint web site only works with local browser, redirect loop from other browsers

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support on Dec 18, 2019
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000030778
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Agent
RSA Version/Condition: 8.x
IssueSharePoint access works with RSA SecurID logon if initiated on the local Windows 2012 Server that hosts the SharePoint site, but not from anywhere else. Remote authentication to SharePoint through SecurID causes the authentication logon page to loop; in other words, as soon as the authentication is successful, control is passed from RSA to SharePoint, at which point SharePoint rejects the authentication with an access denied message or  the message that you do not have access to this page.  SharePoint then redirects the user back to RSA, which is the authentication page loop that we see.

RSA aceclient.log says AUTH_DONE, then builds the cookie that allows integration into SharePoint by UserID.  But the redirect to SharePoint fails, originally we thought this possible because the cookie has bad or incorrect information (possibly time), or possibly because the IIS configuration has an Application Pool Identity Account that was a local account and not the Network Service Account.
CauseThe cookie passed to SharePoint contains the IP address, which only matches the IIS server host when a local browser is used
ResolutionTo resolve this issue we need to enable the option Ignore Browser IP Address for Cookie Validation on the RSA authentication agent setup page for SharePoint site in IIS. 

The following configuration will be documented in a future release of the RSA Authentication Agent for Web Setup and Configuration Guide or in the release notes. 

If the application pool of SharePoint 2013 is managed by other user (Identity) then the following steps needs to be completed.
  1. Go to the SharePoint 2013 Central Administrator Page.
  2. Open the Security page.
  3. Click on Configure service accounts under the General Security tab which will open the Service Accounts page. There you will find five SharePoint-related services in the list:
    • Windows Service - Microsoft SharePoint Foundation Sandboxed Code Service
    • Windows Service - SharePoint Server Search
    • Web Application Pool - SharePoint - 80
    • Service Application Pool - SharePoint Web Services Default
    • Service Application Pool - SharePoint Web Services System
  4. Give privileges to the user which will change the Identity in Application Pools in IIS.  To give privileges:
    • If the user has not been registered in SharePoint, register by clicking Register new managed account.
    • If user has already been registered then select the user from Select an account for this component for all the above mentioned services one by one.
    • Save the configuration each time by clicking OK whenever you modify. Finally, verify all the above services have been modified as per suggestion.
  5. In the Connections pane of IIS Manager, double-click server_name, and click Sites > SharePoint_Site. Click RSA SecurID from the home page. 
  6. Check the option to Ignore Browser IP Address for Cookie Validation.
  7. Restart IIS by running iisreset from a command prompt

For single-sign on:
  1. Perform all of the steps listed above.
  2. Access System32 > inetsrv > config > applicationHost.config.
  3. Search for the SecurIDHandler in the file and add the following entry after that line. The RSASinglesignon.dll can be found inside the WebAgent installation directory.

    <add name="SecurIDSSOModule" image="PATH_TO_ RSASinglesignon.dll" />

  4. In the Connections pane of IIS Manager, double click server_name, and click Sites > SharePoint_Site.
  5. In the SharePoint_Site Home pane, double click Modules.
  6. In the Action pane, click Configure Native Modules and add the SecurIDSSOModule.
  7. In the Connections pane of IIS Manager, double click the server_name, and click Sites > SharePoint_Site >WebID.
  8. In the WebID Home pane, double click Modules.
  9. In the Actions pane, select the SecurIDSSOModule, and click Remove.
  10. Restart IIS by running iisreset from a command prompt

Attachments

    Outcomes