2016-01-28

I am trying to renew several domains. I had to use the standalone module when I first got the certificates, and so I modified the renewal instructions to use that. The renewal succeeded fine for my first attempt.

The instructions claimed all the files should be right where they could be used, but I discovered this was not true. Instead of being in /etc/letsencrypt/live/example1.com, they were in /etc/letsencrypt/live/example1.com-0001. I moved the old directory to example1.com-0000 and the new directory to example1.com, restarted the web server, and found the new certificate live.

But when I tried to repeat the process only changing the domain name, I got an error:

$ ./letsencrypt-auto --standalone --standalone-supported-challenges tls-sni-01 --server https://acme-v01.api.letsencrypt.org/directory certonly -d example2.com
-n Updating letsencrypt and virtual environment dependencies...
-n .
-n .
-n .

Running with virtualenv: sudo /Users/michael/.local/share/letsencrypt/bin/letsencrypt --standalone --standalone-supported-challenges tls-sni-01 --server https://acme-v01.api.letsencrypt.org/directory certonly -d example2.com
could not find cert file
$

Thinking maybe my moving directories confused something, I moved the directories back the way they were and tried again, without any success.

What am I doing wrong?

Show more