Rah*_*hul 3 lets-encrypt certbot
我正在使用 debain jessie,certbot 版本 0.9.3-1~bpo8+2。自过去两天以来,我在为我的网站续订证书时开始收到此错误。
Could not bind TCP port 443 because it is already in use by another process on
this system (such as a web server). Please stop the program in question and then
try again.
-------------------------------------------------------------------------------
Attempting to renew cert from /etc/letsencrypt/renewal/www.testsite.com.conf produced an unexpected error: object of type 'NoneType' has no len(). Skipping.
Run Code Online (Sandbox Code Playgroud)
我应该怎么办 ?我对 Letscrypt 不太熟悉。有人请遮光一下吗?
小智 10
我还没有找到一种“零停机时间”的方法,但你可以使用钩子自动停止/启动 nginx,这样你就可以使用 cron 处理更新:
certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
9654 次 |
| 最近记录: |