Version Affected: All
Overview
This article explains how to resolve an issue where browsing to a SecureAuth Identity Provider (IdP) realm returns a 403 Forbidden error instead of the realm's login page. Users see the error whether they open the realm directly or a Service Provider (SP) sends them to it to sign in. It can appear right after a new realm is created.
Cause
When a browser requests a realm's address, Internet Information Services (IIS) looks in the realm's folder for the files named in the realm application's Default Document list, and serves the first one it finds. If none of those files are present in the folder, or none can be read, IIS has no page to serve. With directory browsing turned off, as it is by default, IIS returns 403 Forbidden instead.
This happens when the realm's folder on an appliance is missing its pages (its .aspx files), for example because they were not all copied there when the realm was created. In a cluster, the folder can be incomplete on just one of the appliances that host the realm.
Resolution:
To resolve this:
- In IIS Manager, expand Sites > Default Web Site, select the realm's application (SecureAuth<NN>), and open Default Document. Note the file names in the list.
- Open the realm's folder, D:\SecureAuth\SecureAuth<NN>, and check whether any of those files are there. Do this on each appliance that hosts the realm.
- If the files are there, compare the folder's permissions with those of a realm folder that works, and correct any difference. If none of the files are there, continue with the next steps on that appliance.
- Back up the realm's folder.
- Copy the contents of D:\SecureAuth\SecureAuth1, or of whichever realm you use as your template realm, into the realm's folder, replacing the files there.
- From an appliance in the same cluster where the realm works, copy the realm's web.config file over the one in the realm's folder. The previous step replaced it with the template realm's copy, which does not hold this realm's settings.
- Browse to the realm again, and check that its login page loads.
Special Considerations
- Copying the template realm's files replaces every file of the same name in the realm's folder. If the realm has customized files, such as its own pages or theme, copy them back from an appliance where the realm works.
- On a Cloud deployment, contact SecureAuth Support, which applies this fix on the appliances.
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.
Comments
0 comments
Please sign in to leave a comment.