Configuring Client Certificates and LDAP Two-Factor Authentication
-
Create a virtual server.
-
Create an LDAP authentication policy for the LDAP server.
-
Set the expression for the LDAP policy to True value.
To configure client certificate authentication with LDAP
-
In the configuration utility, on the Configuration tab, expand NetScaler Gateway \> Policies \ > Authentication.
-
In the navigation pane, under Authentication, click Cert.
-
In the details pane, click Add.
-
In Name, type a name for the policy.
-
In Authentication Type, select Cert.
-
Next to Server, click New.
-
In Name, type a name for the server, and then click Create.
-
In the Create Authentication Server dialog box, in Name, type the name of the server.
-
Next to Two Factor, select ON.
-
In the User Name Field, select Subject:CN and then click Create.
-
In the Create Authentication Policy dialog box, next to Named Expressions, select True value, click Add Expression, click Create, and then click Close.
To install a root certificate on NetScaler Gateway
-
In the configuration utility, on the Configuration tab, in the navigation pane, expand SSL and then click Certificates.
-
In the details pane, click Install.
-
In Certificate - Key Pair Name, type a name for the certificate.
-
In Certificate File Name, click Browse and in the list, select either Appliance or Local.
-
Navigate to the root certificate, click Open, and then click Install.
To add a root certificate to a virtual server
-
In the configuration utility, on the Configuration tab, in the navigation pane, expand NetScaler Gateway and then click Virtual Servers.
-
In the details pane, select a virtual server and then click Open.
-
On the Certificates tab, under Available, select the certificate, next to Add, in the list, click CA, and then click OK.
-
Repeat Step 2.
-
On the Certificates tab, click SSL Parameters.
-
Under Others, select Client Authentication.
-
Under Others, next to Client Certificate, select Optional and then click OK twice.
-
After configuring the client certificate, test the authentication by logging on to NetScaler Gateway with the Citrix Secure Access client. If you have more than one certificate installed, you receive a prompt asking you to select the correct certificate. After you select the certificate, the logon screen appears with the user name populated with the information obtained from the certificate. Type the password and then click Login.