Question

CertBot apache issue

I basically hit this issue after following the apache -> ubuntu 17.10 setup

Error while running apache2ctl configtest. Action ‘configtest’ failed. The Apache error log may have more information.

apache2: Syntax error on line 226 of /etc/apache2/apache2.conf: Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ssl.conf: Could no t open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory

So its missing a file but what should I do? Just create a blank file?

Show comments

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.

jarland
DigitalOcean Employee
DigitalOcean Employee badge
December 30, 2018
Accepted Answer

Hey friend,

In this case removing certbot removed files that were referenced in the Apache configurations. You’ll need to clean them out. Try moving /etc/apache2/sites-enable/000-default-le-ssl.conf to another location (/root is fine) and restarting Apache.

Jarland

I am facing some issue to migrate the website 192.168.l.1 on digital ocean from namecheap… Please help me to move the website with all paths same as…

"In an effort to provide customers with the best hosting experience possible, we have made the decision to take eHost offline and begin directing visitors to our partner brands. Over the next few months, we’ll be transitioning customers to a new platform that delivers a better experience and outstanding support. "

I’d start looking at a new host.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.