Deleting a CA certificate from a bundle using the CLI

Prev Next

Use the CLI commands in this section to delete a CA certificate from a bundle.

To delete a CA certificate from a bundle:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Depending on whether you want to keep the certificates in the database, choose one of the following options:

    • To delete the certificates from a bundle and delete them directly from the database:

      hostname (config) # no crypto certificate bundle <bundle_name> cert-name <certificate_name>

      where <bundle_name> is the name of the certificate bundle. The bundle must be named client-cert-auth.

      <certificate_name> is the name of the certificate that already has been configured.

    • To delete the certificates from a bundle but keep them in the database:

      hostname (config) # no crypto certificate bundle <bundle_name> cert-name <certificate_name> keep-member-certs

      where <bundle_name> is the name of the certificate bundle. The bundle must be named client-cert-auth.

      <certificate_name> is the name of the certificate that already has been configured.

  3. Verify that the specified certificate is deleted from the bundle named client-cert-auth.

    hostname (config) # show crypto certificate bundle client-cert-auth
  4. Save your changes.

    hostname (config) # write memory