I ran this command: trying to find the command to run
It produced this output: none yet
My web server is (include version): centos 7
The operating system my web server runs on is (include version): centos 7
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.36.0
I inherited multiple certificates generated using let’s encrypt. I accidentally unsubscribed from the emails and now am trying to resubscribe using “certbot update_account -m new_email@host.com”. I found multiple let’s encrypt accounts.
How can I determine which account certbot is using? How can I make sure that is the same account that I used to receive emails from?
You can then pass --server https://acme-v02.api.letsencrypt.org/directory --account d3b07384d113edec49eaa6238ad5ff00 to update_account to update it specifically.
I don't think there's a way. Perhaps updating all of the accounts that are in use by your certificate renewal parameters is the way to go.
Each file in /etc/letsencrypt/renewal corresponds to one certificate. If you used --webroot to obtain that certificate and specified a distinctive webroot path for each domain (which isn't a requirement!), all of the domains would be listed in [[webroot_map]]. But in the general case, you could find out what the domains covered by the various certificates are by running certbot certificates (they're not guaranteed to be listed in /etc/letsencrypt/renewal configuration files at all, because Certbot always gets its list of domain names to renew by parsing the current version of the certificate on disk; the /etc/letsencrypt/renewal file is more about "how" than about "what").