Hi all, I am new in security issues, so forgive me for the question! I have an apache server with the port 80 open, if I curl the url it returns the correct html content. The “certbot --apache
” procedure ends in an error and I am not able to figure out the problem.
My domain is: bo.cnr.it
I ran this command: certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter ‘c’ to cancel): datavm.bo.cnr.it
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for datavm.bo.cnr.it
Enabled Apache rewrite module
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. datavm.bo.cnr.it (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://datavm.bo.cnr.it/.well-known/acme-challenge/kyAFqHhXOuOHK9y62YZDDaz8PNHljAwYXFVWMyceE6A: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: datavm.bo.cnr.it
Type: connection
Detail: Fetching
http://datavm.bo.cnr.it/.well-known/acme-challenge/kyAFqHhXOuOHK9y62YZDDaz8PNHljAwYXFVWMyceE6A:
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): datavm.bo.cnr.it
The operating system my web server runs on is (include version): Debian 9
My hosting provider, if applicable, is:
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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): 0.28.0