[solution] Letsencrypt Please choose an account

By.

min read

Share

Duplicates in your accounts, fix them by pointing to the newest account. MAKE SURE your know which account is the most new.

[code:1:e55290e618]/etc/letsencrypt/accounts# find -type d
.
./acme-v01.api.letsencrypt.org
./acme-v01.api.letsencrypt.org/directory
./acme-v01.api.letsencrypt.org/directory/some-old-hash
./acme-v02.api.letsencrypt.org
./acme-v02.api.letsencrypt.org/directory
./acme-v02.api.letsencrypt.org/directory/the-new-hash

/etc/letsencrypt/accounts# rm -rf ./acme-v01.api.letsencrypt.org
[/code:1:e55290e618]

[code:1:e55290e618]cd /etc/letsencrypt/renewal
sed -i ‘s/some-old-hash/the-new-hash/g’ *.conf[/code:1:e55290e618]

Leave a Reply

Your email address will not be published. Required fields are marked *