mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-26 08:53:52 +01:00
Add support for elliptic curve 512 bits keys
This commit is contained in:
parent
90c3ec6aa6
commit
a90c82a1a7
@ -146,7 +146,7 @@ function update_cert {
|
||||
local keysize_varname="LETSENCRYPT_${cid}_KEYSIZE"
|
||||
local cert_keysize="${!keysize_varname:-"<no value>"}"
|
||||
if [[ "$cert_keysize" == "<no value>" ]] || \
|
||||
[[ ! "$cert_keysize" =~ ^(2048|3072|4096|8192|ec-256|ec-384)$ ]]; then
|
||||
[[ ! "$cert_keysize" =~ ^(2048|3072|4096|8192|ec-256|ec-384|ec-512)$ ]]; then
|
||||
cert_keysize=$DEFAULT_KEY_SIZE
|
||||
fi
|
||||
params_issue_arr+=(--keylength "$cert_keysize")
|
||||
|
@ -50,7 +50,7 @@ The `LETSENCRYPT_EMAIL` environment variable must be a valid email and will be u
|
||||
|
||||
#### Private key size
|
||||
|
||||
The `LETSENCRYPT_KEYSIZE` environment variable determines the type and size of the requested key. Supported values are `2048`, `3072`, `4096` and `8192` for RSA keys, and `ec-256` or `ec-384` for elliptic curve keys. The default is RSA 4096.
|
||||
The `LETSENCRYPT_KEYSIZE` environment variable determines the type and size of the requested key. Supported values are `2048`, `3072`, `4096` and `8192` for RSA keys, and `ec-256`, `ec-384` or `ec-512` for elliptic curve keys. The default is RSA 4096.
|
||||
|
||||
#### Test certificates
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user