Skip to main content
POST
/
encrova-service
/
api
/
v1
/
ca
/
{ca_id}
/
sign-intermediate
Sign Intermediate Certificate
curl --request POST \
  --url https://encryption.platform.dev.ai71services.ai/encrova-service/api/v1/ca/{ca_id}/sign-intermediate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC...\n-----END CERTIFICATE REQUEST-----",
  "notAfter": "2024-12-31T23:59:59Z",
  "notBefore": "2023-01-01T00:00:00Z",
  "maxPathLength": -1
}
'
{
  "certificate": "<string>",
  "certificateChain": "<string>",
  "issuingCaCertificate": "<string>",
  "serialNumber": "<string>"
}

Headers

x-api-key
string
required

Path Parameters

ca_id
string
required

Body

application/json
csr
string
required

Certificate Signing Request in PEM format

Example:

"-----BEGIN CERTIFICATE REQUEST-----\nMIIC...\n-----END CERTIFICATE REQUEST-----"

notAfter
string
required

Certificate validity end date in ISO format

Example:

"2024-12-31T23:59:59Z"

notBefore
string | null

Certificate validity start date in ISO format

Example:

"2023-01-01T00:00:00Z"

maxPathLength
integer | null
default:-1

Maximum number of intermediate CAs that can be created under this CA. -1 for unlimited

Example:

-1

Response

Intermediate certificate signed successfully

certificate
string
required

The signed intermediate CA certificate in PEM format

certificateChain
string
required

The complete certificate chain in PEM format

issuingCaCertificate
string
required

The issuing CA's certificate in PEM format

serialNumber
string
required

Serial number of the signed certificate