Sudo certbot certonly reports missconfigured apache


Im trying to set up letsencrypt certs on my domains and i get all kinds
of problems.
After a lot of try and error i managed to install certificates for my
domains with sudo certbot certonly -w /home/domain/public_html -d
If i use sudo certbot --apache it does not recognize my websites.

So in general its working but i cant renew the cert automatically as i
will have to install them again manually every time 2-3 months.
Running sudo certbot certonly, it reports apache miss configuration. I
dont recall messing with apache configuration.

What i have to check and how can i configure apache properly?

My domain is:

I ran this command: sudo certbot certonly

It produced this output: apache missconfigured

My operating system is (include version): CentOS 7 latest

My web server is (include version): apache latest

My hosting provider, if applicable, is: Dreamhost (Dreamcompute)

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): VirtualMin Latest


Virtualmin will modify your apache config though - so you shouldn’t use letsencypt / certbit to modify the same apache config as virtualmin is configuring.

I don’t use virtualmin, but you should be able to set it up through virtualmin - do the links;

Help ?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.