【问题标题】:certbot-auto (2021) for Amazon Linux release 2 (Karoo) and nginx适用于 Amazon Linux 第 2 版 (Karoo) 和 nginx 的 certbot-auto (2021)
【发布时间】:2021-10-05 01:01:54
【问题描述】:

我检查了我的 ec2 系统版本:

cat /etc/system-release
Amazon Linux release 2 (Karoo)


cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

新版certbot好像需要snapd安装,但是Amazon Linux release 2好像不支持安装snapd。

sudo yum install snapd
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                               | 3.7 kB     00:00
No package snapd available.
Error: Nothing to do

在snapd的安装teaching中没有看到相关的系统版本:

不知道Amazon Linux release 2是否应该归入CentOSAmazon Linux release 2 没有包含在选项中,也没有看到相关的字眼。

Epel-releasednfCentOS教学中有提到,但是好像不支持安装。

还是ec2只是用其他方法安装certbot?

【问题讨论】:

  • 你有没有想过这个问题?我正在走类似的道路,因为 epel repo certbot 太旧而无法使用 preferred-chain arg,现在需要它来绕过 9 月 30 日的过期证书...

标签: nginx amazon-ec2 certbot


【解决方案1】:

AWS 有另一种安装 certbot 的方法,说明在这里:https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html#letsencrypt

【讨论】:

    猜你喜欢
    • 2021-12-02
    • 2020-10-18
    • 2017-03-02
    • 2020-11-02
    • 2019-12-28
    • 2019-04-19
    • 2021-09-09
    • 1970-01-01
    • 2022-10-15
    相关资源
    最近更新 更多