Hi, I need a help from you.
I explain my configuration
I use a Debian server on ARM architetture.
I installed NGINX web server and work fine.
for now I don’t have enable any firewall system.
My isp does not allow me to open the port 80, so I could open the 8080 and 443 ports and correctly configured and tested the nginx operation.
I have configured a dynamic DNS with the ddclient software, example: mywebsite.dyndns.com
controlled via browser both the http and https connections and everything is working
Now the problem:
I try to use this command:
certbot --authenticator standalone --installer nginx --http-01-port 8080 --tls-sni-01-port 443 -d mywebsite.mydomain.com -d www.mywebsite.mydomain.com --pre-hook “service nginx stop” --post-hook “service nginx start”
But don’t work:
ok “service nginx start”
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Running pre-hook command: service nginx stop
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mywebsite.mydomain.com
http-01 challenge for www.mywebsite.mydomain.com
Waiting for verification…
Cleaning up challenges
Running post-hook command: service nginx start
Failed authorization procedure. mywebsite.mydomain.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://mywebsite.mydomain.com/.well-known/acme-challenge/j7uhKmDTsUFUGe58tfhM9Ctge0gi9T6nr5FXYiIaevw: Timeout during connect (likely firewall problem)
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 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.