简体   繁体   English

Letsencrypt更新错误(Ubuntu,Nginx,Node.js)

[英]Letsencrypt renew error(Ubuntu, Nginx, Node.js)

I inherited a configuration (Ubuntu, Nginx, Node.js, LetsEncrypt) where the letsencrypt certs are very near expiry. 我继承了一个配置(Ubuntu,Nginx,Node.js,LetsEncrypt),其中letsencrypt证书即将到期。

I tried these commands: 我试过这些命令:

./letsencrypt-auto --renew --config /etc/letsencrypt/renewal/domain.conf certonly

./letsencrypt-auto --renew --config /etc/letsencrypt/renewal/domain.conf -d domain.com -d www.domain.com

Both cases received the following reply: letsencrypt: error: uir is a flag but is being set to 'None' 两个案例都收到了以下答复: letsencrypt: error: uir is a flag but is being set to 'None'letsencrypt: error: uir is a flag but is being set to 'None'

I tried to change it to false or empty, but not working. 我试图将其更改为false或为空,但无法正常工作。

How is it possible to renew LetsEncrypt certs on this configuration? 如何在此配置上续订LetsEncrypt证书?

Try using simply ./letsencrypt-auto renew . 尝试使用简单的./letsencrypt-auto renew

It should read by itself the config file at /etc/letsencrypt/renewal/domain.conf . 它应该自己读取/etc/letsencrypt/renewal/domain.conf的配置文件。

Take a look at this tutorial (Step 4) to learn how it is renewed and how it is automated using crontab : How to secure Nginx with Let's Encrypt on Ubuntu 14.04 看一下本教程(步骤4),了解如何更新它以及如何使用crontab自动更新: 如何在Ubuntu 14.04上使用Let的加密来保护Nginx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM