DNS别名模式生成证书

参考:https://github.com/Neilpang/acme.sh/wiki/DNS-alias-mode

支持自动续签:在这种模式下,生成证书后,会自动添加一个计划任务,自动续签,把生成的证书和key软连接到相关位置(虽然官方不建议,不过没事,zabbix把证书加监控即可)

一、设置CNAME

acme.sh的DNS别名模式生成证书并续签

二、执行命令

[email protected]:~$ acme.sh --issue -d uscwifi.com.cn --challenge-alias aliasDomainForValidationOnly.com --dns dns-01 -d *.uscwifi.com.cn

acme.sh的DNS别名模式生成证书并续签

acme.sh的DNS别名模式生成证书并续签

三、将证书放到服务器上并配置

acme.sh的DNS别名模式生成证书并续签

四、测试

acme.sh的DNS别名模式生成证书并续签

 

相关文章:

  • 2021-12-05
  • 2021-06-30
  • 2022-12-23
  • 2021-11-12
  • 2021-12-05
  • 2021-07-13
  • 2022-01-01
猜你喜欢
  • 2021-12-05
  • 2021-06-05
  • 2021-05-25
  • 2021-10-15
  • 2021-08-01
  • 2021-12-05
  • 2021-09-24
相关资源
相似解决方案