This article describes how to enable Client Certificate on specific load balancer behind a Content Switch.
User is looking to consolidate all of their web apps and resources behind single Public IP Content Switch.
Some of their Web Apps have Client Certificate authentication, but not all. When enabling Client Authentication on an load balancing vServer, behind a Content Switch, this requirement is ignored by the Content Switch. If you enabled it on the Content Switch, it requires a certificate for all target LBs, not just the specific ones.
To achieve this, we need to configure an SSL Profile and Action, along with some SSL Profiles.
First, configure an SSL Policy and Action to only apply when connecting to a specific target LB.
Under Traffic Management -> SSL -> Policies and Actions, click Add
Name the Action and Select ENABLED for Client Authentication, this will grey out all the other options; click Create:
After this, Select SSL Policies and click Add.
Select your Action and enter in a Policy statement to match the Content Switch policies for your Target LB, then click Create:
Once this is done, bind the SSL policy to your Content Switch.
You will also need to bind the CA Certificate to the Content Switch, so it will trust the Client Certs that are presented to it.
Now, the second part requires you to enable SSL Renegotiation on the Content Switch and Target LB, that will have the Client Cert enabled.
This will ensure that when users connect to the Target LB, the Content Switch can renegotiate the SSL handshake with the Client Cert.
This is disabled on the NetScaler by default, for security reasons, but we can enable it on vServers with the use of an SSL Profile.
You will need to create 1 for the Content Switch and 1 for the LB that will have the Client Cert enabled.
This is due to the requirement that Client Authentication needs to be disabled on the CS, but enabled on the LBs
Sample set of SSL Profiles:
add ssl profile cs_ssl_prof -sessReuse DISABLED -tls1 DISABLED -denySSLReneg NONSECURE
add ssl profile cert_ssl_prof -sessReuse DISABLED -clientAuth ENABLED -clientCert Mandatory -tls1 DISABLED -denySSLReneg NONSECURE
Select NONSECURE for the Deny SSL Renegotiation, to ensure that there are no issues with clients trying to attack the system.
You can further improve this system by binding secure Cipher Groups to the SSL profiles and disabling unsecure Protocols, such as SSLv3 and TLSv1.0.