Enhance a Certificate Authority

Add an alternative private key to a ready Managed Certificate Authority that has only one private key. The Certificate Authority certificate is removed and its DN kept, so the Certificate Authority must be issued again (see /api/v1/cas/{name}/issue)

Path parameters
name
string required
Body required
application/json

The alternative private key to add to the Certificate Authority

keystore
string required

The Keystore in which the key is stored

name
string required

The name of the key in the keystore

hashAlgorithm
string (Hash Algorithm)

The Hash Algorithm to use when signing with this key

Enum SHA1 SHA224 SHA256 SHA384 SHA512 SHA3_224 SHA3_256 SHA3_384 SHA3_512
usePSS
boolean

For RSA Keys in PKCS11 Keystores only: use the PSS signature algorithm

Responses
  • 200 The enhanced Certificate Authority
    id
    string (Internal ID) required

    Object internal ID

    type
    string required

    The type of Certificate Authority

    Value managed
    enroll
    boolean required

    If true, this Certificate Authority can emit certificates

    enforceKeyUnicity
    boolean required

    If true, each enrollment request must have a unique key

    name
    string required

    The name of the Certificate Authority

    trustedForClientAuthentication
    boolean required

    If true, certificates emitted by this Certificate Authority can be used for client authentication on Stream

    trustedForServerAuthentication
    boolean required

    If true, certificates emitted by this Certificate Authority can be used for server authentication by Stream

    privateKey
    object (Signer Private Key) required

    This signer's private key

    certificate
    object (Certificate)
    dn
    string

    This Certificate Authority's Distinguished Name

    queue
    string

    The queue to apply on this Certificate Authority's operations

    crldps
    array of string

    The urls of this Certificate Authority's CRL Distribution Points

    aia
    object (Authority Information Access)

    AIAs to add to the certificate

    policy
    array of objects (Certificate Policy)

    This Certificate Authority's Certificate Policies

    qcStatement
    object (Qualified Certificate Statements)

    The Qualified Certificate Statements to add to the emitted certificates

    overridePermissions
    object (Override Permissions)

    This indicates which properties can be overriden in the enrollment request

    crlPolicy
    object (CRL Generation Policy)

    Define how to generate the CRL fot his Certificate Authority

    triggers
    object (TriggersManagedCertificateAuthority)

    Triggers that apply on events on this CA

    description
    string
    revoked
    boolean

    If true, the Certificate Authority is revoked

    revocationDate
    string

    The revocation date of this Certificate Authority

    revocationReason
    string (Revocation Reason)

    The revocation reason of this Certificate Authority

    Enum unspecified keyCompromise cACompromise affiliationChanged superseded cessationOfOperation
    enableOCSP
    boolean

    Enable OCSP on this CA

    ocspSigner
    string

    Name of the OCSP signer associated with this CA

    compromised
    boolean

    Define this CA as compromised for OCSP responses

    archiveCutoff
    object (Archive Cutoff)

    OCSP Archive Cutoff configuration

    ocspResponseMinimalDuration
    string
    altPrivateKey
    object (Signer Private Key)

    This signer's private key

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