Skip to main content

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.

This API is not supported for Certum and GlobalSign brands

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​

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 step

The 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.

Error Codes​

HTTP status codemessageMeaning and suggested handling
400Please use /api/v1/certificate/reissue to reissue and deliver the next certificateThe 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
400This 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
400Reissue is disabled for this accountThe reissue capability is turned off for the current workspace; contact the platform to enable it
400The order is locked for manual follow-up and cannot be updated at this timeThe order is manually locked (support follow-up in progress); updates are not supported at this time
400The certificate is being submitted; please try again laterThe previous submission has not finished yet; retry later
400An update is already in progress; please try again laterAn update was already initiated within the last 60 seconds; wait and retry
400Update failed; please contact supportSubmission to the CA failed (or the CA's raw error message is returned)
404The certificate is not found, or has been cancelled or refundedThe certificate does not exist, or does not belong to the workspace of the current API key
422The service ID is requiredThe certificate ID service_id was not provided
422 responses include errors details

When 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"]
}
}
The certificate returns to the "pending domain validation" state after this call

After a successful call, the certificate is reset to the pending-validation state:

  • ca_status becomes pending
  • issued_at is 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.

⚠️ Check dcv_need_verify in the response to decide whether to redo domain validation

SSL.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:

  1. Call this API
  2. dcv_need_verify is false → skip the validation step and wait for this delivery to be issued
  3. dcv_need_verify is true → take the new value from the block matching the domain's type in the response dcv (dns.value / http.filecontent / https.filecontent), and prompt the user to reconfigure the DNS record or upload the validation file
  4. 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:

  1. The certificate is issued (for unissued certificates, follow the normal DCV workflow instead of using this API)
  2. The order exists and has not been cancelled
  3. The service period has not expired
  4. The service period ends after the current certificate's expiration time (i.e. the service period has time left and a next delivery exists)
  5. 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)