Retry a failed certificate issuance or renewal
POST
/certs/tls/{id}/retry
const url = 'https://api.krakenkey.io/certs/tls/example/retry';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.krakenkey.io/certs/tls/example/retry \ --header 'Authorization: Bearer <token>'A ‘failed’ certificate is issued again with its stored CSR (status ‘pending’; plan limits apply; needs certs:issue on a scoped key). An ‘issued’ certificate whose last renewal failed (renewalFailedAt set) is renewed again, like POST /certs/tls/:id/renew (status ‘renewing’, queued as for a renewal; needs certs:renew on a scoped key).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Certificate ID
Responses
Section titled “Responses”Certificate retry initiated
Renewal retry accepted but waiting for a free slot under the plan’s concurrent pending limit (queued: true, status ‘renewing’)
Certificate neither ‘failed’ nor ‘issued’ with a failed renewal, or missing CSR data
Viewers cannot retry certificates, or the API key lacks the scope for this retry
Certificate not found
A renewal of the certificate started meanwhile