背景
站点安装Let’s Encrypt的证书,并且使用Certbot申请与安装,为了安全考虑此类证书有效期为90天,但很方便的是Certbot提供了更新方法,支持手动和自动更新。
问题说明
使用Certbot测试证书更新时遇到错误
Certbot has problem setting up the virtual environment
更新测试:只是调用certbot进行测试,并非实际更新
./certbot-auto renew --dry-run
错误信息
在执行测试测试更新后得到以下错误信息:
pip prints the following errors:
……
No matching distribution found for certbot==0.24.0 (from -r /tmp/tmp.SThEhOmBxk/letsept-auto-requirements.txt (line 206))
Certbot has problem setting up the virtual environment.
We

在使用Certbot测试更新Let's Encrypt证书时遇到了'Certbot has problem setting up the virtual environment'错误。问题源于pip的问题。通过升级pip解决后,Certbot的测试更新成功,手动更新确认证书未到期,问题得以解决。
最低0.47元/天 解锁文章
1912

被折叠的 条评论
为什么被折叠?



