Hi guys, I got notice of my cert expiring recently and when I went to renew it, this is the error I'm getting. I have no idea what it means. If anyone could point me in a direction it would be much appreciated.
The location that it's pointing to when it says "Account does not exist" doesn't exist as far as I can tell.
Ok, perhaps you could try to manually register an account with the current ACME endpoint, version 2 (v2). v1 has been deprecated and shut down some time ago now.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): **********
An unexpected error occurred:
requests.exceptions.MissingSchema: Invalid URL 'acme-v02.api.letsencrypt.org': No scheme supplied. Perhaps you meant http://acme-v02.api.letsencrypt.org?
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.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): *********
An unexpected error occurred:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
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.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): ********
An unexpected error occurred:
acme.errors.ClientError: Unexpected response Content-Type: text/html
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.
just wanted to take a sec and say thanks for helping me. This is all pretty far over my head
Ok so this command worked and then i restarted my swag instance and got the same error. Is there a way to manually renew that cert through the cli using the new account i just registered?
The cert is either expired or it expires within the next day. Attempting to renew. This could take up to 10 minutes.
<------------------------------------------------->
<------------------------------------------------->
cronjob running on Sun Jul 24 15:39:32 EDT 2022
Running certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/maereax.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Failed to renew certificate maereax.com with error: Account at /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/1fcf25757a9a71ae4148a5a8e2c5eee8 does not exist
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/maereax.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
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.
it sure is hot enough for that to be a possibility!
That was my thought also, but first I wanted you to register (or at least check) an account with the v2 API. I'm hoping the following command will do the trick:
Trust me, if you don't know I definitely don't know, but the first time i copy/pasted your command it failed and suggested i may need to add those two arguments. I added both and it took about 15 seconds before it renewed. I rebooted swag again and am able to access my sites and everything seems great. Thank you again and stay cool!