API Documentation

Everything you need to know, in one place

Important: Only HTTP POST is supported for this method.


Parses the CSR

Example Request


Request Parameters

Global parameters are not shown here (for clarity), but they should be present in all requests.

Name Type MaxLength Required? Description
csr String 2000 Yes Certificate Signing Request
CertificateType String 50 No* Type of SSL Certificate
Note: *This parameter is not mandatory, but we recommend specifying it for each call.

Note: It is obligatory to use URL-encoded data only in the API calls. In order to encode properly the CSR code, please use this online tool.

Possible values for CertificateType parameter:

InstantSSL, PositiveSSL, PositiveSSL Wildcard, EssentialSSL, EssentialSSL Wildcard, InstantSSL Pro, PremiumSSL Wildcard, EV SSL, EV Multi Domain SSL, Multi Domain SSL, PositiveSSL Multi Domain, Unified Communications.

Example Response

<ApiResponse Status="OK">
    <CommandResponse Type="namecheap.ssl.parseCSR">
                <Locality>Los Angeles</Locality>

Response Parameters

Name Description
Common name The hostname for which SSL is applied.
Domain name The domain name for which SSL is applied.
Country Country of the SSL applicant.
Organisation Unit Organisation unit of the SSL applicant.
Organisation Organisation of the SSL applicant.
ValidTrueDomain This value is returned by GeoTrust provider only. It indicates whether CSR parse was successful.
State State information of the SSL applicant.
Locality Locality information of the SSL applicant.
Email Email address of the SSL applicant.

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011300 CertificateType is invalid
3022296 Failed to retrive CSR details from provider
5050900 Unhandled exceptions


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close