Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I inherited a configuration (Ubuntu, Nginx, Node.js, LetsEncrypt) where the letsencrypt certs are very near expiry.

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'

I tried to change it to false or empty, but not working.

How is it possible to renew LetsEncrypt certs on this configuration?

like image 954
Faniber Avatar asked Oct 19 '22 13:10

Faniber


1 Answers

Try using simply ./letsencrypt-auto renew.

It should read by itself the config file at /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

like image 131
user5402942 Avatar answered Oct 21 '22 03:10

user5402942