How to Enable Custom Errors to Mask Server Errors

    Applies to:
  • Legacy SecureAuth IdP
Deployment model:
  • On Premises
  • Description: 

    How to add Custom Errors on both the SecureAuth realm level and the Default Web Site so that errors due to invalid entries and Server Errors are masked.

    Cause:  Custom errors are disabled by default which allows for further troubleshooting, but it also displays errors that you may not want outward facing.


    To enable realm level customerror:

    Go to SecureAuth# > Logs tab > Custom Errors: ON

    To enable default web site customerror:

    Open Administrator Notepad > Go to D:\inetpub\wwwroot\web.config > Add the text below

    <customErrors defaultRedirect="customerror.htm" redirectMode="ResponseRewrite" mode="On" />

    Find a customerror.htm page located in any D:\SecureAuth\SecureAuth# realm and move it to D:\inetpub\wwwroot if you want the same error as the realm level customerror.


    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



    Please sign in to leave a comment.