edjx domain tls delete

Delete a tls certificate from a specific domain.

You must know the Certificate ID to execute this command.
edjx domain tls delete <certificate-id> [flags]

Argument

certificate-id                     Certificate identifier to be deleted

Flag

-d, --domain <domain-id>           Optional. Domain ID (default 00000000-0000-0000-0000-000000000000)

Example

To delete a specific certificate in a domain:

  1. Make sure you are in the domain view.

    root@edjx:~ # edjx config domain -i
  2. View the certificates within that domain.

    root@edjx:~ # edjx domain tls list
  3. Copy the certificate ID of the certificate you want to delete.

    root@edjx:~ # edjx domain certificate delete c770c824-4272-4cd9-965d-e1c1d1e6a546
    Certificate Deleted successfully