diff options
author | Guillaume Rousse <guillomovitch@gmail.com> | 2020-12-20 11:51:25 +0100 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@gmail.com> | 2020-12-20 11:51:25 +0100 |
commit | c15d2f1e5e3cc6488b8d1415f463485d9eccfd43 (patch) | |
tree | 9cee39df0b6e8a581ca9648b5d1d8da979000625 | |
parent | 344e8fcf311f269c51910088538e044926564afd (diff) | |
download | rpm-helper-c15d2f1e5e3cc6488b8d1415f463485d9eccfd43.tar rpm-helper-c15d2f1e5e3cc6488b8d1415f463485d9eccfd43.tar.gz rpm-helper-c15d2f1e5e3cc6488b8d1415f463485d9eccfd43.tar.bz2 rpm-helper-c15d2f1e5e3cc6488b8d1415f463485d9eccfd43.tar.xz rpm-helper-c15d2f1e5e3cc6488b8d1415f463485d9eccfd43.zip |
revert default key length for SSL certificates 2048 bits
-rwxr-xr-x | create-ssl-certificate | 2 | ||||
-rw-r--r-- | ssl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/create-ssl-certificate b/create-ssl-certificate index 398470a..a0d7352 100755 --- a/create-ssl-certificate +++ b/create-ssl-certificate @@ -22,7 +22,7 @@ fi if [ ! -f "/etc/pki/tls/private/$srv.pem" ]; then # default values host=$(hostname) - KEY_LENGTH=4096 + KEY_LENGTH=2048 CERT_DAYS=365 EMAIL_ADDRESS=root@$host COMMON_NAME=$host @@ -1,7 +1,7 @@ # configuration file for create-ssl-certificate rpm scriptlet # key length -KEY_LENGTH=4096 +KEY_LENGTH=2048 # certificate duration CERT_DAYS=365 |