I’m trying to get certificates thanks to letsencrypt, but I keep getting this (so famous) error :
Failed authorization procedure. yeuxdelibad.net (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to http://yeuxdelibad.net/.well-known/acme-challenge/AFZxSAQ2_cn6x-oQRdDBNSbEh3r4jI0qk1SS_0g1fDA IMPORTANT NOTES: - The following errors were reported by the server: Domain: yeuxdelibad.net Type: connection Detail: Could not connect to http://yeuxdelibad.net/.well-known /acme-challenge/AFZxSAQ2_cn6x-oQRdDBNSbEh3r4jI0qk1SS_0g1fDA 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.
It’s getting me mad, as I don’t know where to look for a mistake.
I try to get my certificate with this command :
letsencrypt certonly --rsa-key-size 4096 --webroot -w /media/PIDATA/www/epicededune/ -d yeuxdelibad.net
I tried to get a sample file, and I can get it : http://yeuxdelibad.net/.well-known/test
My DNS filed is ok. I even already got a certificate a few month ago without any issue.
I’m running on debian jessie with nginx server.
Any idea how to fix this?