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: ['casino.gaobo.org@2020-01-08T14:34:19Z (eee5)', 'casino.gaobo.org@2019-01-22T06:47:18Z (0e21)']
Question: how to make the choice (maybe manually)?
Run this please and share the output.
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 -l and show me plz.
ls -l /home/user-data/ssl/lets_encrypt/accounts/acme-v02.api.letsencrypt.org/directory/
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.