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. https://crt.sh/?q=example.com), 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:
I then chose to validate through Apache webserver on port 80.
It produced this output:
The following errors were reported by the server:
Timeout during connect (likely firewall problem)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):
Other pertinent information:
This was working with the TLS verification, but I can’t seem to get HTTP to work. I tried the standalone which worked for TLS, and it didn’t for HTTP. I keep getting the timeout error.
So I updated certbot to certbot auto.
I also updated the apache2 config to include the following:
Alias /.well-known/acme-challenge/ “/var/lib/letsencrypt/.well-known/acme-challenge/”
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
I also made the var/lib/letsencrypt directory and made it accessible with the following commands:
- sudo mkdir -p /var/lib/letsencrypt/.well-known
- sudo chgrp www-data /var/lib/letsencrypt
- sudo chmod g+s /var/lib/letsencrypt
Lastly, this server is behind a NAT, but it’s a 1:1 NAT of the public IP (220.127.116.11) to a private one and vice versa for going out.
Am I missing something in the apache config or in the permissions of the folders? Any help would be greatly appreciated.