Renewing LetsEncrypt certificate issue


When I do...
sudo lego --tls --email="" --domains="" --path="/etc/lego" renew

Receive error;
You have to pass an account (email address) to the program using --email or -m

Please advice....

Edited by: Sosadinho on Jan 30, 2019 10:02 AM

asked 5 years ago243 views
3 Answers

I would suggest asking that question on a lego support forum or logging an issue on their tracker.

it really has nothing to do with Lightsail.

profile picture
David G
answered 5 years ago

I was able to solve this problem by downloading and installing the new lego client

answered 5 years ago

I am not an expert on Let's Encrypt, but depending on the shell you are using the double quotes may not be sufficient to escape some of the special characters in that command line. You might try using single quotes around the values:

sudo lego --tls --email='' --domains='' --path='/etc/lego' renew

Also, as others have suggested, the Lego forum might be a better place to get support for that tool.

I hope this helps!


profile pictureAWS
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions