我正在尝试更新通配符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.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Run Code Online (Sandbox Code Playgroud)
它回应说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
Run Code Online (Sandbox Code Playgroud)
如何续订?这是我创建该证书的方式:
certbot certonly \
--dns-google \
--email myEmail@gmail.com \
--agree-tos \
-d *.sub.myDomain.com
Run Code Online (Sandbox Code Playgroud)
您的系统上个月更新了其证书,但 Web 服务器从未重新启动或重新加载以实际开始使用它。
要解决此问题,请重新加载/重新启动 Web 服务器。
您还可以提供适当的命令来重新加载您的 Web 服务器作为--deploy-hook
您的certbot renew
命令。
归档时间: |
|
查看次数: |
3267 次 |
最近记录: |