Monday, 5 March 2018

Let's Encrypt site deletion (Apache on Ubuntu)

Let's Encrypt is brilliant, but why site deletion makes things so complicated is beyond me. I had a bunch of sites running on Apache that Let's Encrypt automagically generated certificates for, which was fine right up until I needed to make one of them unavailable. What follows are the instructions for regenerating the certificates quickly and (relatively) painlessly.

  1. Ensure that Apache site configurations are removed from
    /etc/apache2/sites-enabled
  2. Move unwanted site configurations from
    /etc/apache2/sites-availableto a backup location if needed
  3. Remove all certificate files from
    /etc/letsencrypt/archive/
    /etc/letsencrypt/live/
    /etc/letsencrypt/renewal/
  4. Restart Apache
    service apache2 restart
  5. Run letsencrypt

No comments:

Post a Comment

simple-free-encryption-tool frontend now handles files

If your browser supports it, simple-free-encryption-tool can now encrypt and decrypt any local files you wish!