简体   繁体   中英

How to generate Let's encrypt certificate with key type RSA/ECDSA using certbot?

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?

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'

Refer https://github.com/m-thirumal/installation_guide/blob/master/TLS/let's_encrypt.adoc

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM