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:
- Connect to your server via SSH or open a command prompt (console).
- Run the command:
~/.acme.sh/acme.sh --revoke -d example.com
(replace "example.com" with your domain name)
- Confirm the revocation by entering "yes" when prompted
- 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".