Fails challenge test

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo certbot --apache

It produced this output: Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version):
MacOS 10.12.6

My hosting provider, if applicable, is: NA

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

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Apple server app 5.3.1

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 1.5.0

fyi, This machine has 6 IPs associated with 6 different URLs.

Hi @rusty.brains


is your job. If you run own servers, you know how to add working port 80 configurations. That’s required to create certificates.

1 Like

Perhaps I wasn’t clear, or the questions were not complete.

There are 6 URLs on port 80 that are virtual hosts served by Apache.
The error msg makes little sense to me.

If there is something about this configuration that you understand and I don’t, please elaborate.

Rusty B

What says

apachectl -S
1 Like

iXstar:Sites ixstar$ certbot --version

certbot 1.5.0

iXstar:Sites ixstar$ apachectl -S

VirtualHost configuration:

ServerRoot: “/usr”

Main DocumentRoot: “/Library/WebServer/Documents”

Main ErrorLog: “/private/var/log/apache2/error_log”

Mutex default: dir="/private/var/run/" mechanism=default

Mutex mpm-accept: using_defaults

PidFile: “/private/var/run/”



User: name="_www" id=70 not_used

Group: name="_www" id=70 not_used

iXstar:Sites ixstar$


is no vHost, there is nothing. Please create a working vHost configuration.

Must look like

1 Like

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