O-m*_*kar 5 ssl amazon-web-services letsencrypt
如何在 amazon Linux 上安装 Let's Encrypt Certificates 我已经托管了一个 WordPress 网站。
谁能告诉我如何开始使用它的步骤以及我应该更改的命令和权限以及我如何编辑 ssl.conf 并添加证书和自动更新。
亚马逊的 EPEL 似乎没有适合我的 certbot。尝试手动安装它,这里有两篇带有完整说明的文章:
为 Apache尝试https://ivopetkov.com/b/let-s-encrypt-on-ec2/
或者https://coderwall.com/p/e7gzbq/https-with-certbot-for-nginx-on-amazon-linux for Nginx
简而言之:
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
sudo certbot-auto certonly --debug --standalone -d yourdomain.com
Run Code Online (Sandbox Code Playgroud)
--debug是必需的,因为 Amazon Linux 没有经过 certbot 的良好测试。替换--standalone为您喜欢的任何 certbot 插件。基本上只是替换标准示例的certbotwith用法certbot-auto。
如果您每隔一段时间检查一次 certbot 是否实际出现在亚马逊的 EPEL 存储库中和/或重新下载 certbot-auto 以期获得错误修复/改进,这可能是最好的。
EPEL Yum 存储库中终于有一个 certbot 包。
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum-config-manager --enable epel
sudo yum install certbot
sudo certbot certonly --standalone -d yourdomain.com
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11386 次 |
| 最近记录: |