> For AI agents: [llms.txt](https://docs.trustedauth.com/llms.txt) provides a Markdown index of this documentation.

# Citrix Netscaler

This technical integration describes how to integrate Citrix NetScaler and Identity as a Service. Once integrated, access to the server will require Identity as a Service authentication. The NetScaler details, such as the IP address, name, configuration secret, and ports can be added or modified during the VPN server configuration.

## Supported authentication methods

| Authentication method                 | Notes                                                                                                                                               | Supported protocols                              |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| Password                              | Password authentication is first-factor authentication with Identity as a Service password feature.                                                 | PAP, CHAP, MS-CHAP                               |
| RADIUS                                | RADIUS authentication is first-factor authentication with a RADIUS server.                                                                          | PAP, CHAP, MS-CHAP                               |
| External                              | External authentication is first-factor authentication with an LDAP-compliant directory or a Windows domain controller through Kerberos.            | PAP                                              |
| Grid\*                                | Two-step authentication only.                                                                                                                       | PAP, CHAP, MS-CHAP                               |
| Token                                 | Hardware/software Mobile Soft Token (supports response-only tokens for second-factor authentication)                                                | PAP Entrust tokens also support CHAP and MS-CHAP |
| Temporary Access Code                 |                                                                                                                                                     | PAP, CHAP, MS-CHAP                               |
| One-time password                     | Two-step authentication only                                                                                                                        | PAP, CHAP, MS-CHAP                               |
| Knowledge-based questions and answers | The RADIUS proxy only supports a single question and answer. For CHAP and MS-CHAP, the answer must be an exact match. Two-step authentication only. | PAP, CHAP, MS-CHAP                               |

note

The PA-VM supports only CHAP authentication methods with RADIUS.

## Prerequisites

Complete the following steps before integrating your authentication system with Identity as a Service:

1. Install and configure your first-factor authentication resource using the documentation provided by the vendor. The first-factor authentication resource can be a RADIUS server or an external authentication resource (a Local DB, LDAP-compliant directory or Windows domain controller through Kerberos).
2. Install and configure the RADIUS appliance using the documentation provided by the vendor. The device must be able to route traffic before integrating with Identity as a Service.
3. Install and configure Identity as a Service and an Identity as a Service Gateway (containing a RADIUS proxy agent). Take note of the shared secrets, IP addresses, and ports you use. You need this information to configure the RADIUS appliance and first-factor authentication resource.
4. If you want to configure your RADIUS appliance and first-factor authentication resource to recognize Identity as a Service user groups, you must define the Identity as a Service user groups first.

## Integrate Citrix Netscaler

Complete the following procedures to integrate Citrix NetScaler with IDaaS.

### Step 1: Configure the Citrix Netscaler server

#### Configure CITRIX Netscaler server 12.0

1. Log into the Citrix NetScaler Configuration utility.

   ![Citrix NetScaler Configuration utility](/assets/images/citrix-netscaler-configuration-utility-f2f0087380b699cd378713bc5af50d0e.png)

2. Expand the **NetScaler** **Gateway** option on the left-hand menu.

   ![Citrix NetScaler Gateway option](/assets/images/citrix-netscaler-gateway-option-2b7ac99adf628335d4b678700d125c3a.png)

note
You can configure the authentication, policy, and virtual servers manually or you can use the Access Gateway Wizard. The wizard is much easier and configures the authentication on a global level.

3. Select the **NetScaler** **Gateway Wizard**. The **NetScaler** **Gateway Wizard** appears.

   ![Citrix NetScaler Gateway Wizard](/assets/images/citrix-netscaler-gateway-wizard-edaf6dcd2fbd960e86597dff85ad3151.png)

4. Click **Get Started** to continue. The **NetScaler** **Gateway Settings** page appears.

   ![Citrix NetScaler Gateway Settings](/assets/images/citrix-netscaler-gateway-settings-25da1b73b2ee854c0816da439d0cdce0.png)

5. Do one of the following:

   - If you are creating a New Virtual Server, enter the IP address, port, and virtual server name for the new virtual server.
   - If you are modifying an existing virtual server, select existing and then choose the virtual server to modify.

6. Click **Continue**. The **Server Certificate** page appears.

   ![Citrix NetScaler Server Certificate](/assets/images/citrix-netscaler-server-certificate-42dac4e2759515609dc2691658a471b6.png)

note
The Virtual Server for the Access Gateway needs to have a certificate installed, or the Virtual Server interface is disabled. There are several options for creating and selecting the Virtual Server certificate. In a production environment you would most likely install a certificate from a trusted Certificate Authority using a certificate signing request. To get the system up and running quickly you can simply use a test certificate issued by the device itself.

7. In the **Server Certificate** page, do the following:

   1. The **Server Certificate** section, select **Create Test Certificate**.
   2. In the **Certificate FQDN** box, enter a domain name that users will enter into the browser.

8. Click **Continue**. The **Authentication Settings** appear.

   ![Citrix NetScaler Authentication Settings](/assets/images/citrix-netscaler-authentication-settings-5f9876a59429e40813b833dccd51f48e.png)

9. In **the Authentication Settings** page, you can configure Primary and secondary authentication.

10. Under **Primary authentication method**, you can select **Local users** or **Active Directory/LDAP**. For this procedure we use Active Directory/LDAP.

11. For the **Primary authentication** set the following:

    1. Enter the **IP Address** of the Active Directory/LDAP server.

    2. Enter the **Port** that Active Directory/LDAP server is listening to for requests (default 389).

    3. Enter the **Base DN** under which users are located.

       > **Example:** `CN=Users,DC=example,DC=com`.

    4. Enter a valid **Password** to log onto Active Directory/LDAP server.

    5. Enter the value you entered in the **Password** field into the **Confirm Password** field.

    6. Accept the **Time out** default value.

    7. In the **Server Logon Name Attribute** enter **SAMAccountName**.

12. To set the **Secondary authentication method**, do the following:

    1. Select **RADIUS** from the secondary authentication drop-down list.
    2. Enter the **IP Address** of the RADIUS server.
    3. Enter the **Port** that RADIUS server is listening (default 1812).
    4. Set the **Time out** to **50**.
    5. Enter the **Secret Key** (shared secret).
    6. Confirm the Secret Key.

note
You need to increase the **Time out** value if you are using TVS (Mobile ST) authentication. This can also be confirmed by tracking how long a request waits before it times out.

13. Click **Continue**. The **NetScaler Gateway Wizard** page appears.

    ![Citrix NetScaler Gateway Wizard Successful](/assets/images/citrix-netscaler-gateway-wizard-successful-9e9251f6a819adcf8bb85407da055ae6.png)

14. Review the settings and click **Done** to complete the configuration.

15. Verify that the setup is working:

    1. Expand the **NetScaler** **Gateway** option on the left-hand menu. Select the **Virtual Servers** options. The **NetScaler** **Gateway Virtual Servers** page appears.
    2. On the **Virtual Server** page and ensure that the state is **UP**.

#### Configure CITRIX Netscaler 12.1/13.0 service

1. Log into the Citrix NetScaler Configuration utility.

   ![Citrix NetScaler Configuration utility](/assets/images/13-citrix-netscaler-configuration-utility-f8454bc6edaaf921d13bbab778337e9c.png)

2. Expand the **Citrix** **Gateway** option on the left-hand menu.

   ![Citrix NetScaler Gateway option](/assets/images/13-citrix-netscaler-gateway-option-7e7f85c615668985638c8984131f84cd.png)

note
You can configure the authentication, policy, and virtual servers manually or you can use the Access Gateway Wizard. The wizard is much easier and configures the authentication on a global level.

3. Select the **Citrix** **Gateway Wizard**. The **Citrix** **Gateway Wizard** appears.

   ![Citrix NetScaler Gateway Wizard](/assets/images/13-citrix-netscaler-gateway-wizard-c71f033af87723e5828dedcd5a4762f8.png)

4. Click **Get Started** to continue. The **Citrix Gateway Settings** page appears.

   ![Citrix NetScaler Gateway Settings](/assets/images/13-citrix-netscaler-gateway-settings-c5275bd1950aca1564da33f395e8bfac.png)

5. Do one of the following:

   - If you are creating a New Virtual Server, enter the IP address, port, and virtual server name for the new virtual server.
   - If you are modifying an existing virtual server, select existing and then choose the virtual server to modify.

6. Click **Continue**. The **Server Certificate** page appears.

   ![Citrix NetScaler Server Certificate](/assets/images/13-citrix-netscaler-server-certificate-9d82ab1e4fc619d7a63d08113d5e8ef0.png)

note
The Virtual Server for the Access Gateway needs to have a certificate installed, or the Virtual Server interface is disabled. There are several options for creating and selecting the Virtual Server certificate. In a production environment you would most likely install a certificate from a trusted Certificate Authority using a certificate signing request. To get the system up and running quickly you can simply use a test certificate issued by the device itself.

7. In the **Server Certificate** page, do the following:

   1. Under **Server Certificate**, select **Use existing certificate.**
   2. Select the **Server Certificate** **from the drop-down list.**

8. Click **Continue**. The **Authentication Settings** appear.

   ![Citrix NetScaler Authentication Settings](/assets/images/13-citrix-netscaler-authentication-settings-0c94d6746b8e09d051bb1218f3a93d51.png)

9. In **the Authentication Settings** page, you can configure Primary and secondary authentication.

10. Under **Primary authentication method**, you can select **Local users** or **Active Directory/LDAP**. For this procedure we use Active Directory/LDAP.

11. For the **Primary authentication** set the following:

    1. Enter the **IP Address** of the Active Directory/LDAP server.

    2. Enter the **Port** that Active Directory/LDAP server is listening to for requests (default 389).

    3. Select the **Security Type** from the drop-down list.

    4. Enter the **Base DN** under which users are located.

       > **Example:** `CN=Users,DC=example,DC=com`

    5. Enter a valid **Service Account** used to query LDAP.

    6. Enter a valid **Password** to log onto Active Directory/LDAP server.

    7. **Enter the value you entered in the Password field into the Confirm Password field.**

    8. Accept the **Time out** default value.

    9. In the **Server Logon Name Attribute** enter **SAMAccountName**.

12. To set the **Secondary authentication method**, do the following:

    1. Select **RADIUS** from the secondary authentication drop-down list.
    2. Enter the **IP Address** of the RADIUS server.
    3. Enter the **Port** that RADIUS server is listening (default 1812).
    4. Set the **Time out** to **50**.
    5. Enter the **Secret Key** (shared secret).
    6. Confirm the Secret Key.

note
You need to increase the **Time out** value if you are using TVS (Mobile ST) authentication. This can also be confirmed by tracking how long a request waits before it times out.

13. Click **Continue**. The **Citrix Gateway Setting**s page appears.

    ![Citrix NetScaler Gateway Settings](/assets/images/13-citrix-netscaler-gateway-settings-complete-ba1c1eed9d46d5b3b4f30fdc3665a24d.png)

14. Review the settings and click **Done** to complete the configuration.

15. Verify that the setup is working:

    1. Expand the **Citrix** **Gateway** option on the left-hand menu. Select the **Virtual Servers** options. The **Citrix Gateway** **Virtual Servers** page appears.
    2. On the **Virtual Server** page and ensure that the state is **UP**.

### Step 2: Add CITRIX Netscaler to Identity as a Service

note

Entrust recommends that when multiple RADIUS applications are configured that each RADIUS application is given a unique shared secret.

1. Click Menu icon **>** **Security > Applications**. The **Applications** page appears.

2. Click **Add**. The **Select an Application Template** page appears.

3. Do one of the following:

   - Select **RADIUS and VPN Integrations** from the search drop-down list and scroll to find the application you want to add to IDaaS.
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.

4. Click **Citrix Netscaler**. The **Add Citrix Netscaler** page appears.

5. Optional: Edit the **Application Name**.

6. Optional. Enter a **Description** for your application.

7. Optional. Add a custom application logo as follows:

   1. Click Circle Plus icon next to **Application Logo**. The **Upload Logo** dialog box appears.
   2. Click Arrow Up From Line icon to select an image file to upload.
   3. Browse to select your file and click **Open**. The **Upload Logo** **dialog box** displays your selected image.
   4. If required, resize your image.
   5. Click **OK**.

8. Click **Next**. The **Setup** page appears.

9. Click **Add** to next to **Hosts** to add the host name of the VPN server. The RADIUS agent receives the request on this host. The RADIUS Agent on the Gateway determines the RADIUS application the request is for based on the host name and port.

10. Enter the host name in the **Host** dialog box and then click **OK**. Repeat this step to add more host names.

11. In the **Port** field, enter the port on which the RADIUS agent accepts messages.

tip
Do not enter `8443` as the port number for this application. Port `8443` is used by the Entrust Identity Enterprise agent in your Gateway.

attention
The RADIUS agent uses the host name that sent a request and the port number that it received the request from to determine which RADIUS application made the request. Because of that:

    - Two RADIUS applications with the same port value cannot share any host names.
    - Two RADIUS applications that have one or more matching host names must have different port values.

12. In the **Shared Secret** field, enter the shared secret that is used by your VPN server. This is the RADIUS secret shared between your VPN server and the RADIUS server. The shared secret value must match a shared secret in your RADIUS client.

13. From the **Select** **RADIUS Agent** drop-down list, select the name of the Gateway containing the **RADIUS agent** to which this application will be assigned.

14. Optional: From the **Select RADIUS Attribute for IP Address** drop-down list, select the RADIUS attribute that corresponds to your IP location.

15. In the **Challenge Response Queue Max Time** field, set the number of seconds that the RADIUS agent waits for a response to first-factor authentication. The default value is 180 seconds.

16. In the **Challenge Response Queue Max Size** field, set the maximum number of second-factor challenge requests allowed in the queue of your RADIUS application. The default value is 1000 requests. The maximum value is 10,000.

17. In the **Request Cache Timeout** field, set the number of seconds to cache requests. The default value is 10 seconds.

18. From the **Character Set** drop-down list, select the character set used to decode and encode string values (including the user ID and password values) in RADIUS messages. The options are UTF-8 and ISO-8859-1.

19. Optional: Select **Log RADIUS messages** to enable RADIUS message logging. When enabled, messages for the RADIUS agent are logged to the same log file as the gateway logs.

20. Optional: Enable the **Authentication Settings**.

    1. Select **Enable Push Authentication Fallback** if you want to authentication to fallback to another authenticator in the event of a failure. If required, set the **Push Authentication Fallback Timeout** to the number of minutes before the push authentication times out.
    2. Select **When authenticating the user will be asked to select their second-factor authenticator**. When selected, after the user responds to the first-factor challenge, they are prompted to select their second-factor authenticator. The list of available second-factor authenticators is set by the resource rule.
    3. The following is a list of supported strings matched to the authentication types:
       - Grid: grid
       - Knowledge-based Authentication: kba
       - One-time password: email, sms, voice
       - Smart Credential Push: scpush
       - Temporary Access Code: tac
       - Token: token
       - Token push: push
    4. Select **Indicate if requests must include the message-authenticator attribute for incoming messages** to include the message-authenticator attribute for incoming messages.
    5. Select **Indicate if requests must include the message-authenticator attribute for outgoing messages** to include the message-authenticator attribute for outgoing messages.
    6. Select **Remove domain from user ID for incoming requests** to remove the `domain` value from the user ID during authentication when the user ID provided by the RADIUS client is in the format `domain\username` and the user ID in IDaaS is in the format `username`.
    7. Select **Indicate if Active Directory password authentication requests are handled by the same Gateway Instance that initiated the request** to require that Active Directory password authentication and change requests that are initiated as part of the RADIUS authentication are handled by any Gateway Instance in the same Gateway cluster that initiated it. If disabled, the request is handled by any Gateway Instance.
    8. Select **Enable one-step multi-factor authentication**. When enabled, the user enters their user ID and then their password and token response in the password field. If you select this option, second factor authenticators available in the resource rule are limited to token and temporary access code.
    9. Enter the **One-step multi-factor authentication security token length**. This is the length of the token or temporary access code response if you enable one-step multi-factor authentication.

21. Optional. **Add Response Attributes**. Response attributes are returned to the RADIUS application after successful authentication. Use this setting to configure RADIUS attributes to return information such as the user's group information to the VPN server.

    When adding response attributes, you optionally add group filters. For example:

example
Users in IDaaS may belong to one of the following groups CANADA, US, UK, FRANCE.

    The VPN server wants the FilterID attribute returned from the IDaaS RADIUS agent to be the value NA or EUROPE, depending on whether the user is in NA (Canada, US) or Europe (UK, France).

    To do this, use a RADIUS attribute filter for the FilterID attribute with a Groups value with the following filters:

    - match CANADA, replace NA
    - match US, replace NA
    - match UK, replace EUROPE
    - match FRANCE, replace EUROPE

    1. Set the **Response Attributes** as follows:

    2. Click Circle Plus icon **Add**. The **Add a Response Attribute** dialog box appears.

    3. Select the **RADIUS Attribute ID** from the drop-down list. The option you select depends on your VPN vendor.

    4. Select the **Value Type** from the drop-down list.

    5. TTo return a static value specific in the RADIUS attribute definition, select **Static** and enter a **Value** in the field and then click **Add.**

    6. To return the user's group membership, select **Group** and then optionally do the following:

       1. Click **Add** to add filters.
       2. Enter the **Match** and the **Replace** attribute filters.
       3. Click **Add** to add more attribute filters.
       4. If you add multiple filters, you can drag and drop them in order of preference.
       5. Select **Stop after matching filter** if you only want one the filter to return one value. Using the example above, if you want NA to have preference over Europe, make sure to list Canada and US in the list of filters.
       6. For Multiple Values Per Attribute, enter the **Value Separator** and then click **Add.**

    info
           If a user belongs to more than one group, you can either add a separate attribute to your RADIUS response for each group or you can combine all of the groups into a single attribute. For example, if the user belongs to G1,G2,G3 then you would

       - return a RADIUS response with three attributes
       - return a RADIUS response with one attribute and a value like "G1,G2,G3" where the , is defined in the Value Separator setting or a value like "G1 G2 G3" where the Value Separator is defined as a space.

    attention
           The default group separator is a space. If you have group names that are separated by a space, use another separator, such as a comma.

    7. Repeat these steps to add more response attributes.

22. Optional: Configure the **EAP Settings** to set up the application to use the EAP RADIUS authentication protocol.

    1. Select **EAP Enabled** to allow the RADIUS application to accept EAP messages.
       - When enabled, authentication messages with EAP content are treated as EAP requests. The application can accept only EAP authentication requests.
       - When disabled, incoming authentication requests are processed by the RADIUS application as a standard RADIUS authentication request (even if the request includes EAP content). In this case, the application can accept only standard RADIUS authentication requests.
    2. Select the **EAP Protocol** from the drop-down list. The options are PEAPv0 with MS-CHAPv2 and PEAPv1 with GTC.
    3. This setting defines the type of EAP authentication protocol that is performed on EAP requests received by the RADIUS application. Consult the configuration requirements of your VPN server to determine which EAP protocol to select.
    4. Select **Return MPPE Keys** to include the MPPE (Microsoft Point-to-Point Encryption) recv and mppe send keys in the Access-Accept message returned during a successful EAP authentication. The setting is enabled by default.
    5. Select **Use PEAPv1 label when calculating MPPE Keys** to use the PEAPv1 label when calculating the mmpe recv and mppe send keys.
    6. Leave the **Minimum TLS Version**, **Maximum TLS Version** and **Allow Weak Ciphers** at the default settings unless you have an older VPN and need to configure these settings to allow older versions of TLS or weaker ciphers to interoperate with older VPN servers that do not support the latest versions.

23. Configure the **Deprecated Settings** **if your RADIUS application is** connected to a Gateway version older than 3.0. These values are only required for backwards compatibility.

24. Select Token OTP Only, Password with second-factor, or No first-factor as the **Authentication Type.** This setting defines the level of authentication required to access a RADIUS application that relies on a gateway RADIUS agent configured before release 3.1.

warning
MSCHAPv2 authentication is not supported when **No first-factor** authentication is configured for the RADIUS application.

25. Click **Submit**.

### Step 3: Add a resource rule

See [Create resource rules](/docs/authentication-and-security/create-and-manage-resource-rules.md).

### Step 4: Test the integration

#### Test the configuration using two-factor authentication

1. Open a Web browser and enter the https URL of the newly configured virtual server, for example `https://192.0.2.0`, or connect using the Secure Access Client.

   ![Citrix NetScaler Virtual Server](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATcAAABoCAIAAAAb7yDzAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABN6ADAAQAAAABAAAAaAAAAAAclCKsAAAZoklEQVR4Ae1dPWzjSpLmm5sFKOAeQAYLkMEGvIzKqGABMbiAFywgBwvImRVqMzs4QM6eQk0mZ1b2FNKZlZkhQzoTM/GACzpsAnsAGRzADh5w9zUpUbRkezw2ZUmjJmasJtk/1V+zuqr6p/oXyegohi2JSyAgEDhIBFiSfFUUXU4ClUUHSaEgSiBw6ghQvf/l1DEQ9RcIHDwCXwsKGTt4SgWBAoFTRUDI0lNteVHv40FAcOnxtJWg9FQREFx6qi0v6n08CORcKozS42kwQekJIlCMHiVZlp1g5UWVBQJHgcByjHfvtDYaDVkxZFmRJDknhjGWspSI7mPvTSMI2DsCe+ZSMKeitdXmOThUkvVNOMCphCbUTaNQsOsmOOL+ZBDYJ5fqhqPbZ7Juvog2ZKtpKOZQMgmJPDp/eDGmeCEQ+HkR+BdZb339458SSz+zjhChf/nbf/7l33tff/3zm8r9VVWNv/6q2v/8n+gTSNV19ddfG8W/P/3pF8b+OOtf/b31F/Jf0f/+8SZ63xJpF3m+pdydxkGl/vZv//rfUcyk+pDaKcUHn/kff/4rl6VYeMTST+JSJimaYZidq9dE6AvAQa7ayjDyb6JoIUu7Ilg2e/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0Hant0GG+ZzVPGlCiyg8EXylQ0PGcmFNgrLLnzxbEHLj78T1FAFhlz7F42Tv+FofDPHge/hhPgm9aTkZ+o7kz0Ce8Q5ALGmoIiPs0ioaJxwGb2C5vWHtFwJusz6nDO+Xqr2XLuzSvTfBngmA1MJmMWi8/uNi73tiJLZYHjKyZ1QOqHhhlx5QY+yXFByxkVKc3wPrtJgy/eSBHJSbX/k5QPuF4tBKF3bpobXIfujJxSmGfXBY1opb9kMIL1VYpNvYC7t0G5NTfCJ445BbXfjjPeTWEbQJBGCni3NixGcgEDhsBGCXfsE63sMmUlAnEDh1BL6Idbyn/gmI+h88AsIuPfgmEgSeNgLCLj3t9he1PwYEhF16DK0kaDx5BIRdevKfgADg4BEQdunBN5Eg8LQREHbpabe/qP0xICDs0mNoJUHjySMg7NKT/wQEAAePgLBLD76JBIGnjQC3S08bAVF7gcChI8D3l6qqlqaGOOXq0NtK0HfCCPyimB0mm+BXVeKOjxOpAQlbAvLK8zLOZvzci1yCDYsb+XzKc1BVdf3M6V95tRPPiyYTONSJA0uqK+HL7237+3+JX777XErI/wPvE9LzA+m3fwAAAABJRU5ErkJggg==)

2. Enter the **User name** and **Password** of an Identity as a Service user and click **Log On**. You are prompted to enter additional information.

   ![Citrix NetScaler Login Prompt](/assets/images/citrix-netscaler-login-prompt-a59a9038f263620e41fec5f34a1ea11b.png)

3. If using two-step authentication you should be presented with a challenge page. Enter the response to complete the authentication and then click **Submit**.

   - Complete a knowledge-based authentication challenge

     You are prompted to enter answers to the questions registered in your Identity as a Service account.

     ![Citrix NetScaler Knowledge-Based Authentication Challenge](/assets/images/citrix-netscaler-kba-challenge-d2dad186a80ef2844d9feb06999b1dab.png)

     1. Enter the answer to each question listed.

     tip
     The answer to each question was recorded when the knowledge-based authenticator (KBA) was assigned to you on your Authenticators page.

     2. Click **Login**.

   - Complete a Entrust Identity Push authentication challenge

     You are prompted to provide an authentication token to log in. Your Entrust Identity app receives a push notification requesting confirmation.

     ![Citrix NetScaler Entrust Identity Push Authentication Challenge](/assets/images/citrix-netscaler-entrust-identity-push-challenge-a59a9038f263620e41fec5f34a1ea11b.png)

     1. Open your Entrust Identity app on a mobile device.
     2. **Unlock** (log in) using the identity you want to use to respond to the request.
     3. **Tap Actions**.
     4. Review the transaction summary details.
     5. Tap **Confirm**.

### Step 5: Hide or modify the sign-in page for users when they log in

#### Hide or modify the sign-in page on Netscaler server 12.0

1. Log in to the Citrix NetScaler server.

   ![Citrix NetScaler Login](/assets/images/citrix-netscaler-login-f2f0087380b699cd378713bc5af50d0e.png)

2. Go to **System** > **Settings** > **Configure Basic Features**. The **Configure Basic Features** page appears.

   ![Citrix NetScaler Configure Basic Features](/assets/images/citrix-netscaler-configure-basic-features-d026f6bddc59c0670e49446e433afb37.png)

3. Select **Rewrite.**

4. Click **OK**.

5. Go to **AppExpert** > **Rewrite** > **Action** > Add. The Create Rewrite Action page appears.

   ![Citrix NetScaler Create Rewrite Action](/assets/images/citrix-netscaler-create-rewrite-action-d4907737de332f1fa6b517048c4fd61c.png)

6. Enter the following values in the information fields described below.

   1. **Name:** Enter any name for the rewrite action.
   2. **Type:** `INSERT_HTTP_HEADER`
   3. **Header Name:** `Set-Cookie`
   4. **Expression:** `("pwcount="+"1")`
   5. Click **OK**.

note
Set the apostrophe in the expression as shown in the image above.

7. Go to **AppExpert > Rewrite > Policies > Add.**

   ![Citrix NetScaler Create Rewrite Policy](/assets/images/citrix-netscaler-create-rewrite-policy-5371b1b038158d0ba3acd96907a10015.png)

8. Enter the following values:

   1. **Name:** Enter any name for the rewrite action.
   2. **Action:** Select the Rewrite Action, for example, `Action_pwd_hid`.
   3. **Undefined-Result Action:** `-Global-undefined-result-action-`
   4. **Expression:** `HTTP.REQ.HEADER("Cookie").CONTAINS("pwdcount").NOT`
   5. Click **Create**.

note
Use the Expression Editor to create the above expression.

9. Go to **NetScaler Gateway > Virtual Servers > Edit the added Virtual server > Add Policies to bind the above rewrite policy.**

10. Select **Rewrite** as the **Choose** Policy.

11. Select Request as the Choose Type.

    ![Citrix NetScaler Select Request Type](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAX4AAAFQCAYAAAC4fBW6AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABfqADAAQAAAABAAABUAAAAAB6aeNnAAAfWklEQVR4Ae3dT4yd11nH8TNRAjMqUs0C5U6F2k6KhCYgJAcJsCVYJEigxkXC7qbOzgldpItKTiuRkhSKShfgRkgolaB22bgVLNIFNBFIJEhENaItzs4Wm3jH3F28qTy7yzxjnptnzpz3vH/u+957/nxvNb3ve/6953zOzW/evHZmthZHL8cLAQQQQKAWgcUjtayUdSKAAAIIPBQg+PkkIIAAApUJEPyVbTjLRQABBAh+PgMIIIBAZQIEf2UbznIRQAABgp/PAAIIIFCZAMFf2YazXAQQQIDg5zOAAAIIVCZA8Fe24SwXAQQQIPj5DCCAAAKVCRD8lW04y0UAAQQe3QTB+fPPLC9769bby2MOEEAAAQSmF+COf3pjroAAAggkJTDaHb+9i7cr5I7easSPmwybemHbJEM5AgjEBFa+45ewigVWrC42MeoQQAABBKYRWOmO3w/10B2o32aaZZQxaptfqL6MlbMKBBBYp8Dg4PcDvSmUmsrtIv2xpC7WL9S+rY/UD+kX6tN3brH2Mq+hLzu3pmuE2miZ9tFzOw+ts2V63Le99uMdAQTSEFj5UY8sIxYSbcsMhYj06Vse6zO0ru8cYu2b6mRuQ1/Wfcj40qep35Dypj5D10c/BBCYRmDQHf/Y/4A3BZhcp6lOOEJ1fh9p58+3Sz/bx7YPjeeX2fZ2HGm3zpe9tp2TPwdbZ/v47Wxd1z7+GJwjgMDmBUa5419lGTZAZBz/vGnsWDsbUH7/of3sOLExbDs5tm1j8/L7revczm/ofO0YKa5xXZZcB4FcBFYOfvsP/ZSLtoESumaoTOYztJ9dix3DluuxrW+ah7Yd+91ez85j7OvYse01x74O4yGAwPQCgx71TD+tzV9Bws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499DTvAJRBAAIE1CMxms+VVGu/4+X2hSyMOEEAAgaIE/g/2LaZ2N5WHsQAAAABJRU5ErkJggg==)

12. Click **Continue**. The **Rewrite Policies** page appears.

    ![Citrix NetScaler Rewrite Policies](/assets/images/citrix-netscaler-rewrite-policies-c0f08344adaa66eb00230c9c9a1f6f2f.png)

13. Under **Select**, choose **Rewrite** from the drop-down list.

#### Hide or modify the sign-in page on Netscaler server 12.1/13/0

1. Log in to the Citrix NetScaler server.

   ![Citrix NetScaler Login](/assets/images/13-citrix-netscaler-login-30ecdf5fb288fae636ef66d51ff32794.png)

2. Go to **System > Settings > Configure Basic Features. The Configure Basic Features page appears.**

   ![Citrix NetScaler Configure Basic Features](/assets/images/13-citrix-netscaler-configure-basic-features-b5d07e761ebb81acd3d5c0a142010f76.png)

3. Select **Rewrite.**

4. Click **OK**.

5. Go to **AppExpert > Rewrite > Action > Add. The Create Rewrite Action page appears.**

   ![Citrix NetScaler Create Rewrite Action](/assets/images/13-citrix-netscaler-create-rewrite-action-0dbe127114d43508a0b83f721bdb5a6e.png)

6. Enter the following values in the information fields described below.

   1. **Name:** Enter any name for the rewrite action.
   2. **Type:** `INSERT_BEFORE_ALL`
   3. **Expression to choose target location:** `HTTP.RES.BODY(25000)`
   4. **Expression to insert with:** `"//"`
   5. **Search: Text:** `from.append(field_pass2)`

7. Go to **AppExpert > Rewrite > Policies > Add.**

   ![Citrix NetScaler Create Rewrite Policy](/assets/images/13-citrix-netscaler-create-rewrite-policy-8ed3212a8f01a600a092b4c9cf83aba8.png)

8. Enter the following values:

   1. **Name:** Enter any name for the rewrite action.
   2. **Action:** Add the step 3 rewrite action.
   3. **Undefined-Result Action:** `-Global-undefined-result-action-`
   4. **Expression:** `HTTP.REQ.URL.CONTAINS("gateway_login_form_view.js")`

note
Use the Expression Editor to create the Expression on step d.

9. Go to **NetScaler Gateway > Virtual Servers > Edit the added Virtual server > Add Policies to bind the above rewrite policy.**

10. Select **Rewrite** as the **Choose** Policy.

11. Select Response as the Choose Type.

    ![Citrix NetScaler Select Response Type](/assets/images/citrix-netscaler-select-response-type-81248ff2865076c11b986f2160100254.png)

12. Click **Select Policy**. The **Rewrite Policy** page appears.

    ![Citrix NetScaler Rewrite Policy](/assets/images/citrix-netscaler-rewrite-policy-291edf0dda91ac55f92186a15f9e927e.png)

13. Under **Select** the **Rewrite** policy.
