Sunday, 18 September 2022

Cert update in Netscaler with ADM

This post talks about Updating certificates in Netscaler. This is a tedious job when we have a bunch of Netscaler in the environment. Even the GUI-based option that we see in the Netscaler is not an easy one because it shows every certkey pair and we have to update it manually. I believe it is as similar to doing that on devices just that we don't login to each device. EOD it is still time-consuming. Instead, I thought running a job that executes the below command is easier as it runs on every device like a magic

First upload the cert and key via job as in below.  Here the hashed Item will be the certificate file. Try placing the files as PEM format and in the folder /nsconfig/ssl/




Then run a job to update the cerkey. You need to have the cert key details to do this.  Here in the below picture the command is simple 

update certkey <certkey name> -cert <pemfile> -key <pemfile>

Here the PEM file will be the file that is uploaded before. 





update ssl certKey <certkeyName> [-cert <string> [-password]] [-key <string> | -fipsKey <string>] [-inform <inform>] [-noDomainCheck]



No comments:

Post a Comment