Update an existing certificate template
Update an existing certificate template
The certificate template to update
name
string
requiredName of the certificate template |
crldpsFromCA
boolean
requiredIf true, will retrieve the crldps from the issuing Certificate Authority |
aiaFromCA
boolean
requiredIf true, will retrieve the aia from the issuing Certificate Authority |
policyFromCA
boolean
requiredIf true, will retrieve the policy from the issuing Certificate Authority |
qcStatementFromCA
boolean
requiredIf true, will retrieve the qcStatement from the issuing Certificate Authority |
enabled
boolean
requiredIf true, this template can be used for certificate enrollment |
ku
object | null (Key Usage)
Key usages for the issued certificate |
eku
object | null (Extended Key Usages)
Extended key usages for the issued certificate |
emptyExtensions
array of string | null
Additional extensions for the issued certificate (key values only) |
crldps
array of string | null
CRL Distribution Points for the issued certificate |
aia
object | null (Authority Information Access)
Authority Information Access for the issued certificate |
policy
array of objects | null (Certificate Policy)
Policies for the issued certificate |
pathLen
integer | null
The pathlen for the issued certificate |
lifetime
string | null
Duration of validity for the issued certificate |
backdate
string | null
Backdate to apply to set the start period value of the issued certificate |
checkPoP
boolean | null
If true, check that the CSR signature matches the CSR Public Key |
qcStatement
object | null (Qualified Certificate Statements)
The Qualified Certificate Statements to add to the emitted certificates |
privateKeyUsagePeriod
object (Private Key Usage Period)
|
subject
array of objects | null (DN Element)
Configuration of the allowed subject elements. If null, all subject elements are allowed, otherwise at lease one element must be configured |
sans
array of objects | null (SAN Element)
Configuration of the allowed SAN elements. If null, all SAN elements are allowed. If the array is empty, no SAN elements are allowed, otherwise the configured elements are allowed. |
extensions
array of objects | null (Extension Element)
Configuration of the allowed extension elements. If null, all extension elements are allowed. If the array is empty, no extension elements are allowed, otherwise the configured elements are allowed. |
extraCsrExtensions
array of string | null
List of OIDs to copy as is from the CSR into the certificate. Introduced in 2.0.10 |
removeBasicConstraints
boolean | null
If true, do not set the BasicConstraints field |
-
200 Certificate template successfully updated
idstring (Internal ID) requiredObject internal ID
namestring requiredName of the certificate template
crldpsFromCAboolean requiredIf true, will retrieve the crldps from the issuing Certificate Authority
aiaFromCAboolean requiredIf true, will retrieve the aia from the issuing Certificate Authority
policyFromCAboolean requiredIf true, will retrieve the policy from the issuing Certificate Authority
qcStatementFromCAboolean requiredIf true, will retrieve the qcStatement from the issuing Certificate Authority
enabledboolean requiredIf true, this template can be used for certificate enrollment
kuobject | null (Key Usage)Key usages for the issued certificate
ekuobject | null (Extended Key Usages)Extended key usages for the issued certificate
emptyExtensionsarray of string | nullAdditional extensions for the issued certificate (key values only)
crldpsarray of string | nullCRL Distribution Points for the issued certificate
aiaobject | null (Authority Information Access)Authority Information Access for the issued certificate
policyarray of objects | null (Certificate Policy)Policies for the issued certificate
pathLeninteger | nullThe pathlen for the issued certificate
lifetimestring | nullDuration of validity for the issued certificate
backdatestring | nullBackdate to apply to set the start period value of the issued certificate
checkPoPboolean | nullIf true, check that the CSR signature matches the CSR Public Key
qcStatementobject | null (Qualified Certificate Statements)The Qualified Certificate Statements to add to the emitted certificates
privateKeyUsagePeriodobject (Private Key Usage Period)subjectarray of objects | null (DN Element)Configuration of the allowed subject elements. If null, all subject elements are allowed, otherwise at lease one element must be configured
sansarray of objects | null (SAN Element)Configuration of the allowed SAN elements. If null, all SAN elements are allowed. If the array is empty, no SAN elements are allowed, otherwise the configured elements are allowed.
extensionsarray of objects | null (Extension Element)Configuration of the allowed extension elements. If null, all extension elements are allowed. If the array is empty, no extension elements are allowed, otherwise the configured elements are allowed.
extraCsrExtensionsarray of string | nullList of OIDs to copy as is from the CSR into the certificate. Introduced in 2.0.10
removeBasicConstraintsboolean | nullIf true, do not set the BasicConstraints field
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Not Found
-
500 Internal Server error