How can I remove/disable letsencrypt on Apache Ubuntu 16.04 server?

September 16, 2016 7.9k views
Apache Let's Encrypt Ubuntu

I followed the DigitalOcean tutorial on installing Let's Encrypt available here: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04 but now I would like to completely remove it from my server as I am having issues with form submissions over SSL.

How can I completely remove Let's Encrypt?

Thank you.

3 Answers

Hi, you can disable like this:

a2dissite 000-default-le-ssl.conf

and

service apache2 reload

Hope it helps.

You would need to modify your apache configuration files to remove your https entry and any reference to your certificate files. Letsencrypt is installed under /opt/letsencrypt when following our tutorials so you can also remove that directory to delete the letsencrypt tools.

  • I've successfully removed all Let's Encrypt files but now my site does not load. It still has the https in it. I cleared my browser cache but apparently is not that.

    • Did you already opened your apache config file e.g yoursite.conf and removed the rewrite rule? then delete the symlink in site-enabled for your-site-ssl-____conf?

      • Can you give a step by step on how to do this? Thank you.

        • @angelovillasant. You'll normally find the rewrite rule section inside you configuration file e.g mysite.conf. A line like this:

          RewriteEngine on
          RewriteCond %{SERVER_NAME} =www.mysite.com [OR]
          RewriteCond %{SERVER_NAME} =mysite.org
          RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
          

          Remove this line from this file. And also remove the file called mysite-le-ssl.conf then it should be okay.

Thank you. This worked for me

Have another answer? Share your knowledge.