【发布时间】:2018-09-18 04:01:38
【问题描述】:
我从 freenom.com 注册了一个免费域名,并从 AWS route53 添加了名称服务器。现在我的域<blabla>.ga 成功重定向到 EC2 python 烧瓶服务器。但我真的不知道如何使用让加密添加 ssl。我正在关注链接https://ivopetkov.com/b/let-s-encrypt-on-ec2/ 对我的 ec2 进行 SLLifying。运行letsencrypt-auto 后我添加域名并按回车,然后我得到
[ec2-user@ip-172-31-40-218 letsencrypt]$ cd /opt/letsencrypt/
[ec2-user@ip-172-31-40-218 letsencrypt]$ ./letsencrypt-auto
Requesting to rerun ./letsencrypt-auto with root privileges...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter 'c' to cancel): iotserver.ga www.iotserver.ga
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for iotserver.ga
http-01 challenge for www.iotserver.ga
Cleaning up challenges
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
here 提出了类似的问题,但我已经在两个答案中做了大部分解释。任何人都可以帮助我解决我在这里缺少的东西吗?
【问题讨论】:
标签: apache amazon-web-services flask amazon-ec2 lets-encrypt