Screwed up key-type

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

certbot certonly --key-type rsa --manual  --expand --preferred-challenges dns-01 -d *,,*,*,*,*

It produced this output:

Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours

My web server is (include version): Apache 2.4.37

The operating system my web server runs on is (include version):

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):


The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

certbot 2.5.0

I somehow managed to run my renewal with the wrong key type and some of my other servers are having issues with it. When I realized where the issue lay, I ran certbot again with the --key-type parameter. However, because I'd been trying to run it after editing the conf file to change the key type to rsa there, I'm getting the too many certificate requests error. Is there anything I can do to resolve this?


1 Like

What shows?:
certbot certificates


You're getting:

Not exactly the same thing.


$ certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Found the following certs:
Certificate Name:
Serial Number: 39853c01cd95ad7780718aa6135f029a67f
Key Type: ECDSA
Domains: * * * * *
Expiry Date: 2023-08-07 02:56:54+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/
Certificate Name:
Serial Number: 4f9622d086c98beed752654db93455cbe24
Key Type: RSA
Domains: * * * * *
Expiry Date: 2023-06-11 23:47:58+00:00 (VALID: 33 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

The second cert contain all of the names on the first cert plus this one name:

If you don't need that extra name, then you can delete that cert:
certbot delete --cert-name
If you do need that name, then you need to delete the first cert and renew the second.


Thanks so much for your help. I've resolved it with your suggestion.



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.