我正在尝试为letsencrypt授权我的域名.以前,几个月前在不同的服务器上,我没有,现在我出于某种原因.
./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!]
授权代码或文件名每次都不同.我应该在哪里找到它?在这种情况下,它是“fdsfs-fdsfdsf.fdsfdsfds”
解决方法:
尝试通过LE的独立网络服务器授权您的域名.
./letsencrypt-auto certonly -a standalone -d my_website.com -d www.my_website.com
您必须记住 – 当您生成新证书时,您必须离开主Web服务器(Apache,Nginx等)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。