Skip to content
Was this article helpful?


Configuration for certificate request resource.


(click to see Operations)

Name Data Type PermissionsDescription
reqfile<String>Read-writeName for and, optionally, path to the certificate signing request (CSR). /nsconfig/ssl/ is the default path.<br>Maximum length = 63
keyfile<String>Read-writeName of and, optionally, path to the private key used to create the certificate signing request, which then becomes part of the certificate-key pair. The private key can be either an RSA or a DSA key. The key must be present in the appliances local storage. /nsconfig/ssl is the default path.<br>Maximum length = 63
fipskeyname<String>Read-writeName of the FIPS key used to create the certificate signing request. FIPS keys are created inside the Hardware Security Module of the FIPS card.<br>Minimum length = 1<br>Maximum length = 31
keyform<String>Read-writeFormat in which the key is stored on the appliance.<br>Default value: PEM<br>Possible values = DER, PEM
pempassphrase<String>Read-write.<br>Minimum length = 1<br>Maximum length = 31
countryname<String>Read-writeTwo letter ISO code for your country. For example, US for United States.<br>Minimum length = 2<br>Maximum length = 2
statename<String>Read-writeFull name of the state or province where your organization is located. <br>Do not abbreviate.<br>Minimum length = 1
organizationname<String>Read-writeName of the organization that will use this certificate. The organization name (corporation, limited partnership, university, or government agency) must be registered with some authority at the national, state, or city level. Use the legal name under which the organization is registered. <br>Do not abbreviate the organization name and do not use the following characters in the name: <br>Angle brackets (;lt; ;gt;) tilde (~), exclamation mark, at (@), pound (#), zero (0), caret (^), asterisk (*), forward slash (/), square brackets ([ ]), question mark (?).<br>Minimum length = 1
organizationunitname<String>Read-writeName of the division or section in the organization that will use the certificate.<br>Minimum length = 1
localityname<String>Read-writeName of the city or town in which your organizations head office is located.<br>Minimum length = 1
commonname<String>Read-writeFully qualified domain name for the company or web site. The common name must match the name used by DNS servers to do a DNS lookup of your server. Most browsers use this information for authenticating the servers certificate during the SSL handshake. If the server name in the URL does not match the common name as given in the server certificate, the browser terminates the SSL handshake or prompts the user with a warning message. <br>Do not use wildcard characters, such as asterisk (*) or question mark (?), and do not use an IP address as the common name. The common name must not contain the protocol specifier ;lt;http://;gt; or ;lt;https://;gt;.<br>Minimum length = 1
emailaddress<String>Read-writeContact persons e-mail address. This address is publically displayed as part of the certificate. Provide an e-mail address that is monitored by an administrator who can be contacted about the certificate.<br>Minimum length = 1
challengepassword<String>Read-writePass phrase, embedded in the certificate signing request that is shared only between the client or server requesting the certificate and the SSL certificate issuer (typically the certificate authority). This pass phrase can be used to authenticate a client or server that is requesting a certificate from the certificate authority.<br>Minimum length = 4
companyname<String>Read-writeAdditional name for the company or web site.<br>Minimum length = 1
digestmethod<String>Read-writeDigest algorithm used in creating CSR.<br>Possible values = SHA1, SHA256


(click to see Properties)


Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:


    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:



    Note: In such cases, make sure that the request header DOES not include the following:



Mandatory parameters are marked in red and placeholder content is marked in <green>.


URL: http://<netscaler-ip-address>/nitro/v1/config/sslcertreq?action=create


Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:



HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Was this article helpful?