Failed authorization procedure. (http-01)


My domain is:

I ran this command: certbot --authenticator webroot --installer nginx --preferred-challenges http

It produced this output:

Obtaining a new certificate
Performing the following challenges:
http-01 challenge for 
Input the webroot for : (Enter 'c' to cancel): /home/website/public
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http:///.well-known/acme-challenge/OQ-tVtkbdULL5RGoa7bVm_YR9p7z3cAryDYMmI2QlHE: Timeout

 - The following errors were reported by the server:

   Type:   connection
   Detail: Fetching

   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): nginx version: nginx/1.10.3

The operating system my web server runs on is (include version): debian 9

My hosting provider, if applicable, is: hetzner

I can login to a root shell on my machine: yes

I’m using a control panel to manage my site: no

$ iptables -S
-A INPUT -p tcp -m multiport --dports 80,443 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
-A OUTPUT -p tcp -m multiport --dports 80,443 -m conntrack --ctstate ESTABLISHED -j ACCEPT


Your domain isn’t accessible over its AAAA record.

Let’s Encrypt will prefer to use the AAAA record, if it is present for a domain. If it fails to connect, the entire validation process fails.


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