post
https://api.servertastic.com/v2/order/checkcsr.json
Validate a certificate signing request before placing an SSL order.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Validate a PEM encoded certificate signing request before placing an SSL order. Send the CSR in the POST body. For XML responses, post the same body to /v2/order/checkcsr without the .json extension.
Example 200 response
A valid CSR returns HTTP 200 OK with a validation report describing the checks performed and the details read from the CSR.
{
"success": "CSR valid",
"valid": true,
"csr_validation_report": {
"reason": "CSR validation passed",
"checks": [
{
"label": "CSR format",
"valid": true,
"value": "Readable PEM CSR"
},
{
"label": "Public key",
"valid": true,
"value": "RSA 2048 bits"
},
{
"label": "Common name",
"valid": true,
"value": "www.example.com"
},
{
"label": "Organisation",
"valid": true,
"value": "Example Ltd"
},
{
"label": "Country code",
"valid": true,
"value": "GB"
},
{
"label": "Locality",
"valid": true,
"value": "Example City"
}
],
"details": [
{
"label": "Common name",
"value": "www.example.com"
},
{
"label": "Organisation",
"value": "Example Ltd"
},
{
"label": "Organisational unit",
"value": "Example IT"
},
{
"label": "Locality",
"value": "Example City"
},
{
"label": "State / province",
"value": "Example County"
},
{
"label": "Country code",
"value": "GB"
},
{
"label": "Email",
"value": "Not supplied"
},
{
"label": "Key",
"value": "RSA 2048 bits"
}
]
}
}The values returned in checks and details reflect the information contained in the CSR submitted for validation.
422Required request body fields were missing or invalid
