我正在尝试更新通配符let's encrypt证书。
/usr/local/bin/certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/sub.myDomain.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not yet due for renewal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certs are not due for renewal yet:
/etc/letsencrypt/live/sub.myDomain.com/fullchain.pem expires on 2019-08-14 (skipped)
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -它的反应是Cert not yet due for renewal。但实际上它已经过期了:
echo | openssl s_client -connect sub.myDomain.com:443 2>/dev/null | openssl x509 -noout -dates
notBefore=Mar 11 15:32:13 2019 GMT
notAfter=Jun 9 15:32:13 2019 GMT怎么换呢?下面是我创建该证书的方式:
certbot certonly \
--dns-google \
--email myEmail@gmail.com \
--agree-tos \
-d *.sub.myDomain.com发布于 2019-06-10 14:40:55
您的系统上个月更新了它的证书,但是web服务器从未重新启动或重新加载以实际开始使用它。
若要解决此问题,请重新加载/重新启动web服务器。
您还可以提供适当的命令,将web服务器作为--deploy-hook重新加载到certbot renew命令中。
https://serverfault.com/questions/970776
复制相似问题