【问题标题】:Problem in getting SSL Certificate for my domain at digitalocean droplet through Let's Encrypt通过 Let's Encrypt 在 digitalocean droplet 为我的域获取 SSL 证书时出现问题
【发布时间】:2020-02-13 16:13:57
【问题描述】:

我试图按照“https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04”中提到的步骤在 PhpMyAdmin Droplet 上为我的域获取 SSL 证书。我的服务器没问题。我的 domain.com 有 DNS A 条目,我的 www.domain.com 有 CNAME 条目

当我去执行“sudo certbot --apache -d your_domain -d www.your_domain” 它要求我输入电子邮件地址,然后它给了我以下错误。

“发生意外错误: 客户端缺乏足够的授权 :: ACMEv1 上的帐户创建被禁用。请将您的 ACME 客户端升级到支持 ACMEv2 / RFC 8555 的版本。有关详细信息,请参阅https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430。 "

我用 sudo 尝试了 root 和非 root 管理员用户,但还是一样。任何帮助表示赞赏 最好的

【问题讨论】:

  • 如错误消息所述,您需要使用更新的 certbot 版本,以便它向服务器发送“ACMEv2”而不是“ACMEv1”。因此,根据您的安装方式,您需要对其进行升级。但是你的问题在这里与编程无关。您是否查看了错误消息中包含的 URL?自 2019 年 11 月起,旧界面上的帐户创建功能已停用。
  • 非常感谢帕特里克,我会进一步探索,您的回复听起来很有帮助。

标签: ssl


【解决方案1】:

我解决了。所以首先运行 sudo apt 更新 sudo apt install --only-upgrade certbot

然后

sudo certbot --apache -d your_domain -d www.your_domain

为我工作

【讨论】:

    猜你喜欢
    • 2021-06-20
    • 2017-12-13
    • 2021-12-22
    • 2020-01-06
    • 1970-01-01
    • 2021-07-14
    • 2022-06-25
    • 2022-06-13
    • 1970-01-01
    相关资源
    最近更新 更多