namecheap.ssl.parseCSR
Important: Only HTTP POST is supported for this method.
Request Parameters
Global parameters are not shown here for clarity, but should be present in all requests
| Name | Type | MaxLength | Required? | Default | Description |
| csr | String | 2000 | Yes | | Certificate Signing Request |
| CertificateType | String | 50 | No | | Type of SSL Certificate |
Example Response
<?xml version="1.0" encoding="utf-8" ?>
<ApiResponse Status="OK">
<Errors/>
<RequestedCommand>namecheap.ssl.parseCSR</RequestedCommand>
<CommandResponse Type="namecheap.ssl.parseCSR">
<SSLParseCSRResult>
<CSRDetails>
<CommonName>domain.com</CommonName>
<Country>US</Country>
<OrganisationUnit>domain.com</OrganisationUnit>
<Organisation>domain.com</Organisation>
<ValidTrueDomain>true</ValidTrueDomain>
<State>CA</State>
<Locality>Los Angels</Locality>
</CSRDetails>
</SSLParseCSRResult>
</CommandResponse>
<Server>SERVER-NAME</Server>
<GMTTimeDifference>+5:30</GMTTimeDifference>
<ExecutionTime>11.561</ExecutionTime>
</ApiResponse>
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 |