Skip to main content

Delete certificate chain

DELETE 

/v2/config/digital-wallet/openid/key-management/keys/:keyId/certificate-chain

Removes the certificate chain of a key. The key then has no x5c, x5t and x5t#S256 values, and it cannot sign with the x509 format until you upload a new chain with the upload certificate chain operation.

This operation is for keys in a key store with the capability certificateChain (local, vault, gcp-kms, aws-kms, azure-key-vault and dpod). It needs a request body: send {"confirm": "DELETE"}. A sandbox organisation cannot remove a certificate chain.

The wallet refuses to remove the chain while the key signs with the x509 format: a credential definition, a presentation definition, a status list, the signed issuer metadata or the wallet provider global configuration that uses the key with cryptographicKeyFormat x509. Select another key for these uses first. When the key has a test certificate, the test CA revokes it, and the new CRL is made in the same change.

Request​

Path Parameters

    keyId stringrequired

    Unique identifier of the key

Body

required

Confirmation of the delete operation.

    confirm stringrequired

    Possible values: [DELETE]

    Confirmation string. Set the value to DELETE.

Responses​

The wallet removed the certificate chain.

Response Headers
    Schema
      affectedCredentialConfigurations object[]required

      The credential configurations whose signing key check fitted with the chain and gives does-not-fit without the chain. They then show does-not-fit in their signingKeyCheck. An empty list when there is none.

    • Array [
    • credentialDefinitionId stringrequired

      The credential definition of the configuration.

      credentialConfigurationId stringrequired

      The credential configuration id, as in the OID4VCI Credential Issuer Metadata.

      name stringrequired

      The label of the configuration, else its display.name, else the label of the credential definition.

      credentialCategory object

      The id of a credential category (the list credential categories operation): the eIDAS category of a credential configuration. none (no certificate rule), pid (person identification data), eaa (non-qualified attestation), qeaa (qualified attestation) or pub-eaa (attestation issued by or for a public sector body).

      messages string[]required

      The rules that the new certificate does not fit, with the fix, as in signingKeyCheck.messages.

    • ]
    Loading...