Skip to main content

Callback Overview

When the certificate for a partner's order has been issued, the notify_url the partner submitted when placing the order (if this parameter is passed again during a reissue, it will be overwritten) will receive the following request from our server:

  • The partner should return a 200 status code upon successful processing; otherwise, we will retry the notification every 5 minutes for 48 hours.
  • To make it easier to associate callbacks with orders in your own system, we recommend including the order ID in the path of notify_url.
Note

During local development, you most likely will not receive our callback requests, because our servers on the public Internet cannot reach the internal address running on your machine. You can use tools such as ngrok or cloudflare tunnel to expose your local internal address so that we can reach your local callback endpoint.

Note

During integration and testing, if you are unsure about the parameters we send in callbacks, you can use Webhook.site to capture our requests.

Request and Response​

Content-Length: 587
Content-Type: application/json

{
"accessKeyId": "Trr1955DTkVVOBGE",
"service_id": "o91bZ",
"status": "issued", // Possible statuses: issued, dcv_generated, refunded
"keytype": "rsa",
"issued_cert": "-----BEGIN CERTIFICATE-----MIIGXzCCBEegAwIm3...-----END CERTIFICATE-----", // Certificate, truncated here, does not include the certificate chain
"issuer_cert": "-----BEGIN CERTIFICATE-----MIIGXzCCBEegAwIm3...-----END CERTIFICATE-----", // Issuer certificate (certificate chain)
"not_before": "2019-09-08 00:00:00.000000",
"not_after": "2019-12-07 23:59:59.000000",
"cert_x509_info": {
"name": "/CN=*.example.com",
"subject": {
"CN": "*.example.com"
},
"hash": "464e2b66",
"issuer": {
"C": "GB",
"ST": "XX",
"L": "LOCALE",
"O": "Comodo CA Limited.",
"CN": "Comodo EV CA(RSA)"
},
"version": 2,
"serialNumber": "318998335977003061451836453384575312644",
"serialNumberHex": "EFFCD8415335EB17BA6D9831E714E304",
"validFrom": "190908000000Z",
"validTo": "191207235959Z",
"validFrom_time_t": "1567900800",
"validTo_time_t": "1575763199",
"signatureTypeSN": "RSA-SHA256",
"signatureTypeLN": "sha256WithRSAEncryption",
"signatureTypeNID": 668,
"purposes": {
"1": ["1", "0", "sslclient"],
"2": ["1", "0", "sslserver"],
"3": ["1", "0", "nssslserver"],
"4": ["0", "0", "smimesign"],
"5": ["0", "0", "smimeencrypt"],
"6": ["0", "0", "crlsign"],
"7": ["1", "1", "any"],
"8": ["1", "0", "ocsphelper"],
"9": ["0", "0", "timestampsign"]
}
},
"nonce": "5d75400c79d89",
"timestamp": "2019-09-09T01:53:16Z",
"sign": "vmun1yvlYG50syrD2eswj/Ol0DxmnALICNTKJwFamCk="
}