acme nginx 模式怎么泛域名

2021-11-29 21:46:38 +08:00
 fangwenxue
acme.sh --issue -d abc.com -d *.abc.com --nginx /usr/local/nginx/conf/vhost/abc.com.conf --force

Error, can not get domain token entry *.abc.com for http-01

1092 次点击
所在节点    问与答
4 条回复
SbloodyS
2021-11-29 22:00:44 +08:00
如果是自动认证的话,这样试试
export DP_Id="xxx"
export DP_Key="xxxx"

acme.sh --issue --dns dns_dp -d xxx.cn -d *.xxx.cn
yaott2020
2021-11-29 22:07:42 +08:00
acme.sh --set-default-ca --server letsencrypt
acme.sh --issue --dns dns_cf -d example.com -d *.example.com
acme.sh --install-cert -d example.com \
--key-file /etc/nginx/certs/mydomain.com/key.pem \
--fullchain-file /etc/nginx/certs/mydomain.com/fullchain.pem \
--reloadcmd "systemctl reload nginx.service"
Showfom
2021-11-29 23:27:16 +08:00
泛域名只能 DNS 模式,无法用 nginx 模式
fangwenxue
2021-11-30 08:56:50 +08:00
目前就是不能用 DNS 模式

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/818867

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX