The request specified an account that does not exist, [certbot and pebble]
Closed this issue · 2 comments
I am following this guide:
https://blog.xoxzo.com/2020/11/18/root-certificates-generation-using-acme-server-pebble/
To try and generate a cert for my website with a self hosted pebble instance, this command:
sudo certbot -v certonly --standalone -d spidershomelab.net --server https://localhost:14000/dir --email SpiderUnderUrBed@proton.me --agree-tos --no-verify-ssl --http-01-port=5002
Yeilds a error:
spiderunderurbed@raspberrypi:~ $ sudo certbot -v certonly --standalone -d spidershomelab.net --server https://localhost:14000/dir --register-unsafely-without-email --agree-tos --no-verify-ssl --http-01-port=5002 Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator standalone, Installer None /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1048: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( Requesting a certificate for spidershomelab.net /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1048: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1048: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( An unexpected error occurred: AttributeError: can't set attribute Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details. spiderunderurbed@raspberrypi:~ $
The actual error log is quite big so i sent it in pastebin here:
https://pastebin.com/cCt9JF0n
I dont know if thats a issue with certbot, pebble or something im not doing correctly
According to the log, the new order request failed because the account did not exist. This suggests that your certbot believes is has an account with the ACME server, while the server disagrees. Have you restarted pebble (thereby deleting its in-memory database) more recently than you have deleted certbot's on-disk store of account metadata?
Solved. I removed the account from /var/letsencrypt/accounts