Reputation:
I'm trying to authorize my domain for letsencrypt. Previously, a few months ago on a different server, I didn't it, now I do for some reason.
./letsencrypt-auto certonly -a webroot --webroot-path=/home/deployer/pfios -d my_website.com -d www.my_website.com
Failed authorization procedure. my_website.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: The key authorization file from the server did not match this challenge [fdsfs-fdsfdsf.fdsfdsfds333] != [gangnam style!]
Domain: www.my_website.com
Type: unauthorized
Detail: The key authorization file from the server did not match
this challenge
[fdsfs-fdsfdsf.fdsfdsfds333]
!= [gangnam style!]
The code for authorization or rather the name of a file is different each time. Where should I actually retrieve it? In this case it's "fdsfs-fdsfdsf.fdsfdsfds"
Upvotes: 7
Views: 7586
Reputation: 405
Check if the AAAA records are configure on the DNS.
Either remove them entirely or make sure that they match with the server ipv6
Upvotes: 0
Reputation: 306
Check if you have IPV6 redirection configured in your DNS provider. If the redirection does not redirect to your server, remove it.
Upvotes: 2
Reputation: 528
In my case solved it by running
sudo apt-get update
and then running the renew command
/usr/bin/letsencrypt renew
Upvotes: 0
Reputation: 223
Try authorize your domain via standalone webserver from LE.
./letsencrypt-auto certonly -a standalone -d my_website.com -d www.my_website.com
You must remember - when you generate new cert you must off your main webserver (Apache, nginx, etc.)
Upvotes: 2