Report this

What is the reason for this report?

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

Posted on January 20, 2021

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.