Redeliver Certificate API
Fetch the next delivery within the service period of a multi-year order.
When a user purchases 1 year / 2 years but the CA only delivers one short-lived certificate at a time (e.g. 90 days), multiple deliveries are needed within the service period. When the current delivery is nearing expiration and the service period still has time left, call this API to fetch the next delivery without requiring the user to pay for a renewal.
Products of the Certum and GlobalSign brands do not support this API; calls are rejected with
Please use /api/v1/certificate/reissue to reissue and deliver the next certificate.
These two brands require a new CSR for every reissue, while this API by definition reuses the certificate's current CSR — the two are mutually exclusive.
Use the Reissue Certificate API instead, supplying a new csr in the request to reissue
and deliver the next certificate.
Endpoint
POST /api/v1/certificate/redeliver
Host:
...
Full URL
/api/v1/certificate/redeliver
Request
Content-Type: application/json
Content-Length: 24
{
"service_id": "o91bZ" // Certificate ID, required; the `service_id` returned when the order was created
}
Response
- response (SSL.com / Keymatic)
- response (other brands)
- errors
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 970
{
"success": true,
"data": {
"hash_id": "o91bZ", // Certificate ID, same as the service_id passed in the request
"dcv_need_verify": true, // This delivery requires domain validation to be redone; only then is dcv included below
"dcv": { // Domain validation information **regenerated** for this delivery, indexed by domain, one entry per SAN (only one entry shown below)
"example.com": {
"domain": "example.com",
"type": "dns", // The validation method keeps the certificate's existing choice: dns / http / https / email
"subdomain": "",
"topleveldomain": "example.com",
"status": "pending", // After redelivery the status always returns to pending; validation must be redone
"ca_dcv_status": null, // Raw validation status from the CA side; null until written back
"validated_at": null,
"ca_dcv_raw": null,
"dns": {
"type": "TXT",
"hostname": "_dnsauth",
"fullname": "_dnsauth.example.com",
"value": "9f2c37e0a5d14b8fb0c6e1f7d2a48c3e5b6a0d9f4c7e1a3b5d8f0c2e4a6b8d0f"
},
"http": {
"filename": "fileauth.txt",
"filecontent": "9f2c37e0a5d14b8fb0c6e1f7d2a48c3e5b6a0d9f4c7e1a3b5d8f0c2e4a6b8d0f",
"filepath": "/.well-known/pki-validation/",
"filefullpath": "/.well-known/pki-validation/fileauth.txt",
"url": "http://example.com/.well-known/pki-validation/fileauth.txt"
},
"https": {
"filename": "fileauth.txt",
"filecontent": "9f2c37e0a5d14b8fb0c6e1f7d2a48c3e5b6a0d9f4c7e1a3b5d8f0c2e4a6b8d0f",
"filepath": "/.well-known/pki-validation/",
"filefullpath": "/.well-known/pki-validation/fileauth.txt",
"url": "https://example.com/.well-known/pki-validation/fileauth.txt"
}
}
}
}
}
dcv contains the new validation values for the next stepThe response includes dcv only when dcv_need_verify is true (SSL.com, Keymatic).
dcv.<domain>.type indicates the validation method used for that domain in this delivery; take the value (dns)
or filecontent (http / https) from the corresponding block and configure it. For non-wildcard domains, all three blocks
dns / http / https are returned together — act only on the block matching type; the other two are alternative validation methods.
Wildcard domains (*.) and Certum products return only the block they support.
When type is email there is no value block to fetch; the CA sends a validation email directly to the domain's validation mailbox.
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 67
{
"success": true,
"data": {
"hash_id": "o91bZ",
"dcv_need_verify": false // The brand is not SSL.com / Keymatic; this delivery reuses the existing domain validation records on the CA side
}
}
When dcv_need_verify is false, the response does not include the dcv field, and there is no need to guide the user to reconfigure
DNS records or validation files; once this delivery is issued, simply download and deploy it.
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 88
{
"success": false,
"message": "This certificate has no remaining deliveries (the service period has ended or the current delivery already covers the service period)"
}
Error Codes
| HTTP status code | message | Meaning and suggested handling |
|---|---|---|
| 400 | Please use /api/v1/certificate/reissue to reissue and deliver the next certificate | The certificate's product requires a new CSR for every reissue, while this API by definition reuses the certificate's current CSR — the two are mutually exclusive. Use the Reissue Certificate API instead and supply a new csr |
| 400 | This certificate has no remaining deliveries (the service period has ended or the current delivery already covers the service period) | The service period has expired, or the current delivery already covers the entire service period. In this case, guide the user to renew instead of calling this API |
| 400 | Reissue is disabled for this account | The reissue capability is turned off for the current workspace; contact the platform to enable it |
| 400 | The order is locked for manual follow-up and cannot be updated at this time | The order is manually locked (support follow-up in progress); updates are not supported at this time |
| 400 | The certificate is being submitted; please try again later | The previous submission has not finished yet; retry later |
| 400 | An update is already in progress; please try again later | An update was already initiated within the last 60 seconds; wait and retry |
| 400 | Update failed; please contact support | Submission to the CA failed (or the CA's raw error message is returned) |
| 404 | The certificate is not found, or has been cancelled or refunded | The certificate does not exist, or does not belong to the workspace of the current API key |
| 422 | The service ID is required | The certificate ID service_id was not provided |
errors detailsWhen parameter validation fails (422), in addition to message the response also returns an errors field indicating which parameter is invalid:
{
"success": false,
"message": "The service ID is required",
"errors": {
"service_id": ["The service ID is required"]
}
}
After a successful call, the certificate is reset to the pending-validation state:
ca_statusbecomespendingissued_atis cleared- The issued certificate content (
cert.<keytype>.cert) is cleared
This means the old certificate is no longer usable; you must wait for this delivery to complete and download the certificate again before deploying. Make sure your application informs users accordingly, so they do not think the certificate was lost while waiting.
dcv_need_verify in the response to decide whether to redo domain validationSSL.com and Keymatic brands require domain validation to be redone for every delivery; in the response
dcv_need_verify is true, along with the regenerated dcv:
- The validation method (DNS record / file / email) keeps the certificate's existing choice and does not change
- But the validation values are regenerated — the DNS record value and file content become new strings, so any DNS records or validation files configured before the call become invalid
For other brands dcv_need_verify is false; the CA reuses the existing domain validation records,
the response does not include dcv, and no action is needed on the user side.
Handle it in the following order:
- Call this API
dcv_need_verifyisfalse→ skip the validation step and wait for this delivery to be issueddcv_need_verifyistrue→ take the new value from the block matching the domain'stypein the responsedcv(dns.value/http.filecontent/https.filecontent), and prompt the user to reconfigure the DNS record or upload the validation file- Call the Validate DCV API to trigger the CA check
If the response contains the Fetching validation information... placeholder, use the Query Certificate API to get the real values.
If your application cannot guide users to reconfigure, do not call this API for SSL.com or Keymatic; use the Reissue Certificate API instead (a reissue also resets DCV, so evaluate that as well).
Prerequisites
Before calling, confirm that all of the following conditions are met; otherwise the call is rejected:
- The certificate is issued (for unissued certificates, follow the normal DCV workflow instead of using this API)
- The order exists and has not been cancelled
- The service period has not expired
- The service period ends after the current certificate's expiration time (i.e. the service period has time left and a next delivery exists)
- The certificate's product does not have the "a new CSR is required for every reissue" restriction (Certum and GlobalSign brands fall into this category; use the Reissue Certificate API instead)