How to remove Let’s Encrypt SSL Certificate from acme.sh

This short guide will show you how to revoke and safely remove an SSL certificate that was obtained using the acme.sh let's Encrypt client. To remove a Let's Encrypt SSL certificate using the acme.sh command on Linux, follow these steps:

  1. Connect to your server via SSH or open a command prompt (console).
  2. Run the command:
    ~/.acme.sh/acme.sh --revoke -d example.com

    (replace "example.com" with your domain name)

  3. Confirm the revocation by entering "yes" when prompted
  4. Run the command:
    ~/.acme.sh/acme.sh --remove -d example.com

    (replace "example.com" with your domain name)

This will remove the SSL certificate for the domain "example.com".