本文最后更新于 2024年5月16日。
输入certbot-auto renew更新证书时显示certbot-auto: command not found解决。
找到certbot-auto的安装目录,并用cd进入,然后运行。
./certbot-auto renew
[root@centos7HPC www]# ./certbot-auto renew
Saving debug <span class="hljs-built_in" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">log</span> <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">to</span> /var/<span class="hljs-built_in" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">log</span>/letsencrypt/letsencrypt.<span class="hljs-built_in" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">log</span>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/myexplor.<span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">me</span>.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">not</span> yet due <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">for</span> renewal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/myexplor.<span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">me</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-0001.</span>conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">not</span> yet due <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">for</span> renewal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certs are <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">not</span> due <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">for</span> renewal yet:
/etc/letsencrypt/live/myexplor.<span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">me</span>/fullchain.pem expires <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">on</span> <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">2018</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-11</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-01</span> (skipped)
/etc/letsencrypt/live/myexplor.<span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">me</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-0001</span>/fullchain.pem expires <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">on</span> <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">2018</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-11</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">-01</span> (skipped)
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
成功解决。
无特殊说明,本站文章均为原创,转载请注明出处。
本文首发于微信公众号“我的探索”ID:weiyounmimi