我正在尝试为我的域创建一个letsencrypt证书。 Web服务器正在运行并进行设置,以便返回其请求的路径的最后一段:
my_domain.com/.well-known/acme-challenge/something ====> something
但是,当我运行时:
sudo ./letsencrypt-auto certonly -a webroot --webroot-path=/home/my_user/my_website -d my_website.com -d www.my_website.com
我收到此错误:
Failed authorization procedure. my_domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: The key authorization file from the server did not match this challenge [something1-something2.something3] != [something1-something2], www.my_domain.com (http-01): urn:acme:error:unauthorized ::
The client lacks sufficient authorization :: The key authorization file from the server did not match this challenge [fdsfdsfdsfdsfdsfddsfd23232.something3] != [fdsfdsfdsfdsfdsfddsfd23232]
Domain: www.my_website.com
Type: unauthorized
Detail: The key authorization file from the server did not match
this challenge
[aaaaaa.bbbbb] != [aaaaaa]
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.
为什么呢? “bbbbb”和“something3”这个部分来自哪里?