curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/ca/internal/{id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "active"
}
'{
"projectId": "<string>",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"type": "internal",
"configuration": {
"type": "root",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"keyAlgorithm": "RSA_2048",
"friendlyName": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"enableDirectIssuance": true
}curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/ca/internal/{id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "active"
}
'{
"projectId": "<string>",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"type": "internal",
"configuration": {
"type": "root",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"keyAlgorithm": "RSA_2048",
"friendlyName": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"enableDirectIssuance": true
}The updated status of the Internal Certificate Authority.
active, disabled, pending-certificate Default Response
active, disabled, pending-certificate internal Show child attributes
The type of CA to create.
root, intermediate The common name (CN) for the CA.
The organization (O) for the CA.
The organization unit (OU) for the CA.
The country name (C) for the CA.
The state of province name for the CA.
The locality name for the CA.
The type of public key algorithm and size, in bits, of the key pair for the CA; when you create an intermediate CA, you must use a key algorithm supported by the parent CA.
RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1 A friendly name for the CA.
The date and time when the CA becomes valid in YYYY-MM-DDTHH:mm:ss.sssZ format.
The date and time when the CA expires in YYYY-MM-DDTHH:mm:ss.sssZ format.
The maximum number of intermediate CAs that may follow this CA in the certificate / CA chain. A maxPathLength of -1 implies no path limit on the chain.
x >= -1Was this page helpful?