curl --request POST \
--url https://us.infisical.com/api/v1/pki/ca/{caId}/issue-certificate \
--header 'Content-Type: application/json' \
--data '{
"pkiCollectionId": "<string>",
"friendlyName": "<string>",
"commonName": "<string>",
"altNames": "",
"ttl": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"keyUsages": [
"digitalSignature"
],
"extendedKeyUsages": [
"clientAuth"
]
}'
{
"certificate": "<string>",
"issuingCaCertificate": "<string>",
"certificateChain": "<string>",
"privateKey": "<string>",
"serialNumber": "<string>"
}
Issue certificate from CA
curl --request POST \
--url https://us.infisical.com/api/v1/pki/ca/{caId}/issue-certificate \
--header 'Content-Type: application/json' \
--data '{
"pkiCollectionId": "<string>",
"friendlyName": "<string>",
"commonName": "<string>",
"altNames": "",
"ttl": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"keyUsages": [
"digitalSignature"
],
"extendedKeyUsages": [
"clientAuth"
]
}'
{
"certificate": "<string>",
"issuingCaCertificate": "<string>",
"certificateChain": "<string>",
"privateKey": "<string>",
"serialNumber": "<string>"
}
The ID of the CA to issue the certificate from.
Default Response
The response is of type object
.
Was this page helpful?