小编Jef*_*ort的帖子

Letsencrypt将域添加到现有证书

我只是简单地尝试将域test.example.com添加到example.com已存在的证书中.如何将域添加到现有证书并替换旧证书?

我试过这些命令

./letsencrypt-auto certonly --cert-path /etc/letsencrypt/archive/example.com --expand -d test.example.com

./letsencrypt-auto certonly -d example.com --expand -d test.example.com
Run Code Online (Sandbox Code Playgroud)

结果:两者都在新文件夹test.example.com-0001中创建了一个全新的证书

./letsencrypt-auto certonly --renew-by-default  --expand -d test.example.com
Run Code Online (Sandbox Code Playgroud)

结果:错误文件夹test.example.com已存在.

./letsencrypt-auto renew --expand -d orange.fidka.com
Run Code Online (Sandbox Code Playgroud)

结果:错误,我只能在证书过期时续订.

ssl ssl-certificate lets-encrypt

109
推荐指数
5
解决办法
12万
查看次数

标签 统计

lets-encrypt ×1

ssl ×1

ssl-certificate ×1