Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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