Skip to main content
POST
/
encrova-service
/
api
/
v1
/
ca
/
{ca_id}
/
renew
Renew Certificate Authority
curl --request POST \
  --url https://encryption.platform.dev.ai71services.ai/encrova-service/api/v1/ca/{ca_id}/renew \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "type": "existing",
  "notAfter": "<string>"
}
'
{
  "certificate": "<string>",
  "certificateChain": "<string>",
  "serialNumber": "<string>"
}

Headers

x-api-key
string
required

Path Parameters

ca_id
string
required

Body

application/json
type
enum<string>
required

The type of behavior to use for the renewal operation. Currently only supports renewing with the same key pair.

Available options:
existing
notAfter
string
required

The expiry date and time for the renewed CA certificate in YYYY-MM-DDTHH:mm:ss.sssZ format

Response

Certificate Authority renewed successfully

Response model for CA renewal operation

certificate
string
required

The CA certificate in PEM format

certificateChain
string
required

The complete certificate chain in PEM format

serialNumber
string
required

Serial number of the certificate