acme申请泛域名证书

  • Post author:
  • Post category:技术
  • Post comments:0评论

dns服务商去申请自己的dns_key。
我用的Namesilo,别的服务商配置key的环境变量名不一样,自己去acme查一下,--dns参数也查一下。还有--dnssleep的数字单位是秒。

export Namesilo_Key="yourkey"
acme.sh --issue -d ggan.top -d '*.ggan.top' --dns dns_namesilo --dnssleep 1800 --keylength ec-256
acme.sh --installcert -d ggan.top -d '*.ggan.top' --fullchainpath /yourpath/ggan.top.crt --keypath /yourpath/ggan.top.key --ecc

另外说一下,如果可以的话,crontab的acme就别开了。目前会导致无法变更域名证书,需要等一个月。

参考:

https://blog.weifengx.com/2021/08/16/namesilo-%E9%80%9A%E8%BF%87-acme-sh-%E7%94%B3%E8%AF%B7%E6%B3%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6/

0 0 votes
文章评分
订阅
提醒
guest
0 评论
最旧
最新 得票最多