MINOR: acme: default to 2048bits for RSA

Change the default RSA value to 2048 bits.
This commit is contained in:
William Lallemand 2025-04-14 15:28:54 +02:00
parent 08efe8cd24
commit 7119b5149d

View File

@ -75,8 +75,8 @@ struct acme_cfg *new_acme_cfg(const char *name)
ret->key.type = EVP_PKEY_EC; ret->key.type = EVP_PKEY_EC;
ret->key.curves = NID_secp384r1; ret->key.curves = NID_secp384r1;
/* default to 4096 bits when using RSA */ /* default to 2048 bits when using RSA */
ret->key.bits = 4096; ret->key.bits = 2048;
ret->next = acme_cfgs; ret->next = acme_cfgs;
acme_cfgs = ret; acme_cfgs = ret;