caddy/DNS SSL certification file/auto update

99 篇文章 0 订阅
20 篇文章 0 订阅

1. Note : DNS should be valid when Let's Encrypt. is used. 

[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_linux_amd64]$ cat Caddyfile
DESKTOP-P55Q2H7.mshome.net
{
##tls self_signed
tls  your@qq.com
}

 

[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_linux_amd64]$ sudo  ./caddy
[sudo] password for lake:
Activating privacy features...

Your sites will be served over HTTPS automatically using Let's Encrypt.
By continuing, you agree to the Let's Encrypt Subscriber Agreement at:
  https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Do you agree to the terms? (y/n): y
2020/06/17 19:08:06 [INFO] acme: Registering account for your@qq.com
2020/06/17 19:08:06 [INFO] [desktop-p55q2h7.mshome.net] acme: Obtaining bundled SAN certificate
2020/06/17 19:08:07 [INFO] [desktop-p55q2h7.mshome.net] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/5297540062
2020/06/17 19:08:07 [INFO] [desktop-p55q2h7.mshome.net] acme: use tls-alpn-01 solver
2020/06/17 19:08:07 [INFO] [desktop-p55q2h7.mshome.net] acme: Trying to solve TLS-ALPN-01
2020/06/17 19:08:08 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/5297540062
2020/06/17 19:08:08 [desktop-p55q2h7.mshome.net] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[desktop-p55q2h7.mshome.net] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for desktop-p55q2h7.mshome.net - check that a DNS record exists for this domain, url:
[lake@DESKTOP-P55Q2H7 caddy_v1.0.0_linux_amd64]$
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值