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:
openvpn.regent-college.edu
I ran this command:
./certbot-auto certonly
I then chose to validate through Apache webserver on port 80.
It produced this output:
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: openvpn.regent-college.edu
Type: connection
Detail: Fetching
http://openvpn.regent-college.edu/.well-known/acme-challenge/LHTIhfvprdjHnVmKAXSdZU4_cnNv0gmNouUDUoqaWLU:
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):
Apache/2.4.7 (Ubuntu)
The operating system my web server runs on is (include version):
14.04.5 LTS
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):
tes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
Certbot 0.30.2
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/”
<Directory “/var/lib/letsencrypt/”>
AllowOverride None
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 (207.23.249.56) 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.
Thank you!