CertBot apache issue

December 30, 2018 506 views
Apache

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?

1 comment
  • Basically I had it working for a website, then I changed domains and removed certbot and installed again. I'm guessing its either a apache missing file or its looking for the domains I had before and I didn't actually fully remove?

    Do I just run

    apt purge certbot

    to fully remove?

7 Answers
jarland MOD 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

  • This actually did fix my issue, Sadly I cannot seem to correctly purge it though. Its still managing to find my old domains and it refuses to let me add in new ones.

Got it working, had to manually edit the apache2 certbog files. Ty

Is this giving a version that is no longer supported?

https://certbot.eff.org/lets-encrypt/ubuntuartful-apache

It gives me this error after successfully doing the setup,

Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

Resolved, had to update ubuntu :)

"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.

"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. " https://ifacetimeapp.com/

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...

Have another answer? Share your knowledge.