Check CSR

Validate a certificate signing request before placing an SSL order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Body Params
string
required

Your API key. You may instead pass this as a Bearer token in the Authorization header.

string
required

PEM encoded Certificate Signing Request to validate before placing an order.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

422

Required request body fields were missing or invalid

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json