gpt4 book ai didi

lets-encrypt - Letsencrypt如何使用--preferred-challenges

转载 作者:行者123 更新时间:2023-12-04 03:49:18 32 4
gpt4 key购买 nike

该命令:

$ letsencrypt certonly --manual --preferred-challenges dns --email foo@bar.com --domains test001.bar.com

输出:
letsencrypt: error: unrecognized arguments: --preferred-challenges dns

从此处的文档中: https://certbot.eff.org/docs/using.html#certbot-command-line-options

我发现:
  --preferred-challenges PREF_CHALLS
A sorted, comma delimited list of the preferred
challenge to use during authorization with the most
preferred challenge listed first (Eg, "dns" or "tls-
sni-01,http,dns"). Not all plugins support all
challenges. See
https://certbot.eff.org/docs/using.html#plugins for
details. ACME Challenges are versioned, but if you
pick "http" rather than "http-01", Certbot will select
the latest version automatically. (default: [])

为什么会出现此错误?

最佳答案

找到了答案,尽管该网站指出letsencryptcertbot是相同的。似乎并非如此。

$ apt-get install letsencrypt
$ apt-get install python-pip
$ pip install --upgrade pip
$ pip install certbot
$ certbot certonly --manual --preferred-challenges dns --email foo@bar.com --domains test001.bar.com

绝招

关于lets-encrypt - Letsencrypt如何使用--preferred-challenges,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40661422/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com