试图获取加密网站证书时响应无效

时间:2019-01-22 16:50:15

标签: nginx lets-encrypt certbot

我将从一开始就说我遵循了本教程: https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/

我已经启动了网站并开始运行。并想转到ssl。

我已经安装了certbot,一切都很好。但是当我进入下一步并尝试以下命令时:

  

$ sudo certbot --nginx -d example.com -d www.example.com

我收到“无效回复”错误。

http://sitename.com/.well-known/acme-challenge/VHS-gagtadAat436qgeetgdSGSJdsAS4372hfAFer2fsdF3:
   "<h1>Not Found</h1><p>The requested URL
   /.well-known/acme-challenge/VHS-gagtadAat436qgeetgdSGSJdsAS4372hfAFer2fsdF3
   was not found on "

我在做什么错了?

0 个答案:

没有答案