Choice on accounts cannot be automatically made when provisioning the TLS certificates

Seems that an interaction of choosing the account blocks the provisioning process which generates the following error message:

Provisioning TLS certificates for ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Missing command line flag or config entry for this setting:
Please choose an account
Choices: [' (eee5)', ' (0e21)']

Question: how to make the choice (maybe manually)?

Run this please and share the output.

ls /home/user-data/ssl/lets_encrypt/accounts/

Note, that command is all one line … I suggest copy/paste.

I moved 1 of the directory to another location so that now only 1 left and the provisioning process has completed like a charm.


change the command from ls to ls -l and show me plz.

So …

ls -l /home/user-data/ssl/lets_encrypt/accounts/

Yep, you ended up with 2 Let’s Encrypt accounts. I have seen this happen during backup restores, but not sure why as when the backup is restored it in theory replaces the second account …

Seems that the LE mechanism is more complicated than we imagine (or becomes more complicated during its updates). Hope that my case can help your debugging as a negative case.

I just recently changed servers and this was exactly the same issue I had too. Maybe, a note needs to be made in relation to this somewhere? The solution worked. Turns out that a new Lets Encrypt account is created when setting up the new server and the old account is copied across as well.

I moved the old account out of that directory and it works fine now.