Update an existing certificate template

Update an existing certificate template

Body required
application/json

The certificate template to update

name
string required

Name of the certificate template

crldpsFromCA
boolean required

If true, will retrieve the crldps from the issuing Certificate Authority

aiaFromCA
boolean required

If true, will retrieve the aia from the issuing Certificate Authority

policyFromCA
boolean required

If true, will retrieve the policy from the issuing Certificate Authority

qcStatementFromCA
boolean required

If true, will retrieve the qcStatement from the issuing Certificate Authority

enabled
boolean required

If 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

Responses
  • 200 Certificate template successfully updated
    id
    string (Internal ID) required

    Object internal ID

    name
    string required

    Name of the certificate template

    crldpsFromCA
    boolean required

    If true, will retrieve the crldps from the issuing Certificate Authority

    aiaFromCA
    boolean required

    If true, will retrieve the aia from the issuing Certificate Authority

    policyFromCA
    boolean required

    If true, will retrieve the policy from the issuing Certificate Authority

    qcStatementFromCA
    boolean required

    If true, will retrieve the qcStatement from the issuing Certificate Authority

    enabled
    boolean required

    If 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

  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Not Found
  • 500 Internal Server error