validateCsr


SoftLayer_Security_Certificate_Request::validateCsr

Validates a Certificate Signing Request (CSR) with the certificate authority (CA).

Description

Allows you to validate a Certificate Signing Request (CSR) required for an SSL certificate with the certificate authority (CA). This method sends the CSR, the length of the subscription in months, the certificate type, and the server type for validation against requirements of the CA. Returns true if valid.

More information on CSR generation can be found at: [http://en.wikipedia.org/wiki/Certificate_signing_request Wikipedia] [https://www.digicert.com/csr-creation.htm DigiCert]


Parameters

Name Type Description
csr string The encoded CSR data string.
validityMonths int The length of the certificate subscription desired in months. Typically, 12 or 24 months.
itemId int The product item identifier for the type of SSL certificate.
serverType string The type of server in which the certificate will be installed.

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, int, int, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Security_Certificate_Request/validateCsr'