Let's Encrypt Certbot default key type is changed to ECDSA with the latest version 2.0.0. How to specify the key type to generate RSA or ECDSA?
Asked
Active
Viewed 7,156 times
1 Answers
11
Add key type parameter --key-type
with desired value rsa/ecdsa
. The below command is to generate rsa
certificate with docker:
docker run -it -v /Users/thirumal/certificate:/etc/letsencrypt certbot/certbot certonly
--manual --preferred-challenges dns --key-type rsa --email racetortoise@gmail.com
--server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d '*.example.com'
I have a more complete guide to generating free TLS/SSL certificates using Let's Encrypt published on my GitHub page.

Thirumal
- 8,280
- 11
- 53
- 103
-
1I can't update the link as SO has too many pending edits, but here is the correct link: https://m-thirumal.github.io/installation_guide/#/TLS/let's_encrypt – Heikkisorsa Apr 26 '23 at 11:39