Question

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

Posted January 20, 2021 742 views
Ubuntu 18.04

Hi, How can I remove/disable letsencrypt on Apache Ubuntu 18.04 server?
I want to delete ssl

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hi there @erhanpaker1,

What yo could do is disable the 301 redirects from your default port 80 Virtual host, it should be at:

/etc/apache2/sites-enabled/your_domain.conf

In that file remove the 301 redirect rules.

After that disable the SSL virtual host, it should be at:

/etc/apache2/sites-enabled/your_domain-ssl.conf

You can do that by removing the file.

After that, run an Apache config test:

apachectl -t

And if you get a Syntax OK message you can restart Apache.

Note: Make sure to backup your configuration files before making the changes!

Regards,
Bobby