Skip to content

Instantly share code, notes, and snippets.

@bfgits
Last active April 7, 2021 05:57
Show Gist options
  • Save bfgits/f12a1afbc48bef2e1ba89cb05e17cb2a to your computer and use it in GitHub Desktop.
Save bfgits/f12a1afbc48bef2e1ba89cb05e17cb2a to your computer and use it in GitHub Desktop.
acme.sh
git clone https://github.com/certbot/certbot.git
acme.sh --issue --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please -d *.abcd.com
添加完dns txt记录再运行以下命令
acme.sh --renew --yes-I-know-dns-manual-mode-enough-go-ahead-please -d *.abcd.com
参考https://github.com/acmesh-official/acme.sh/wiki/dns-manual-mode
# certbot
# 使用buypass 获得180天的证书 https://www.buypass.com/ssl/resources/acme-free-ssl
acme.sh --server https://api.buypass.com/acme/directory --issue -d *.abcd.com --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please
然后按照他的错误信息手动去 DNS 添加完,再执行一次 renew 就可以正确签发了。
acme.sh --server https://api.buypass.com/acme/directory --renew -d *.abcd.com --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment