Delete SSL Letsenrypt - jigneshpshah/greycube_helpmanual GitHub Wiki

Delete SSL

Step 0 : Go to cd /opt

  1. Take Backup

sudo cp -r /etc/letsencrypt/ /etc/letsencrypt.backup

  1. List certificates

sudo ./certbot-auto certificates

  1. Delete Certificates , run below command and it will list the certificates , choose the option to be deleted

sudo ./certbot-auto delete

  1. To verify the deleted certificate , check the folders

 sudo ls /etc/letsencrypt/live/ -all
 sudo ls /etc/letsencrypt/renewal/ -all
 sudo ls /etc/letsencrypt/archive/ -all
  1. drop the backup

sudo rm -r /etc/letsencrypt.backup/

⚠️ **GitHub.com Fallback** ⚠️