Troubleshooting: WinSSO Realm's Federation Metadata Shows 'The Resource Cannot Be Found'

Follow
    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected: All
     
     

    Overview

    Trying to view a Windows SSO (WinSSO) realm's Federation Metadata (for example, at /SecureAuth2/FederationMetadata/2007-06/FederationMetadata.xml) can fail with:

    Server Error in '/SecureAuth2' Application. The resource cannot be found.

    Server Error page reading The resource cannot be found, requested URL /SecureAuth2/FederationMetadata/2007-06/FederationMetadata.xml.

    If the realm is instead configured for Forms Based Authentication (FBA), this error does not occur and the metadata XML loads normally.

     

    Cause

    A WinSSO realm typically has User Impersonation enabled. The virtual path to /FederationMetadata/2007-06/ inherits this impersonation setting from the root of the realm's IIS virtual directory.

     

    Resolution:

    Disable impersonation specifically for the FederationMetadata/2007-06 virtual path:

    1. On the realm's System Info tab, click Edit Web Config -- or decrypt the realm and edit web.config with a text editor instead.
    2. Insert the following XML within the <location path="FederationMetadata/2007-06"> section:
    <system.web>
      <identity impersonate="false" />
    </system.web>

    web.config showing the FederationMetadata/2007-06 location section with identity impersonate set to false added inside a system.web element.

    1. Save the changes.




     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.