Letsencrypt update error (Ubuntu, Nginx, Node.js)

I inherited the configuration (Ubuntu, Nginx, Node.js, LetsEncrypt), where letencrypt certificates are very close to expiration.

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 answer: letsencrypt: error: uir is a flag but is being set to 'None'

I tried changing it to false or empty, but did not work.

How can I renew LetsEncrypt certificates in this configuration?

+5
source share
1 answer

Try simply ./letsencrypt-auto renew .

He must read the configuration file himself in /etc/letsencrypt/renewal/domain.conf .

Take a look at this tutorial (step 4) to find out how it is updated and how to automate it with crontab : How to protect Nginx with Let Encrypt on Ubuntu 14.04

+2
source

Source: https://habr.com/ru/post/1245412/


All Articles