Netscaler SSL Certificate Renewal and Install

By the time I need to renew my NetScaler Certificates I always forget how to do it. Plus most of the time its a last minute rushed change. So here is the basic steps:

  1. Backup the Netscaler Config

[sourcecode]pscp -v -p -pw <password> nsroot@<IP Address>:/nsconfig/* "c:\SSL_BACKUP\"[/sourcecode]

  1. Save Running Config
  2. Save Config – Configuration/System/Diagnostics/Technical Support Tools/Generate support file
  3. Extract the Private & Public keys from the PFX file provided by your Certificate Authority using openssl command:

[sourcecode]
openssl pkcs12 –in xxxx.pfx –out xxxx.crt –nokeys –clcerts
openssl pkcs12 –in xxxx.pfx –clcerts –out privatekey.pem
openssl rsa –in privatekey.pem –out xxxx.key
[/sourcecode]

  1. Connect to the NetScaler Management Interface via your Browser and select Configurations/SSL/Certificates
  2. Right click on  Certificate and select Update, locate your Certificate.crt file & Private.Key file by selecting Browse Local > enter password if Certificate has a password otherwise leave it blank and click OK and Overwrite existing file.
  3. netscaler_Certs
  4. Check the Expiry date has been updated
  5. Upload the Intermediate Certificate Authority and Link to all corresponding keys.. 
  6. Verify the SSL Certificate by using SSL Certificate Verification Tool – https://ssl-tools.verisign.com/#certChecker)
  7. Make sure DR Netscaler with the same url is updated as well. Test the DR Netscaler by changing your local host file IP address of that UTL to the IP address of that DR NetScaler

Leave a comment