aboutsummaryrefslogtreecommitdiffstats
path: root/create-ssl-certificate
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2020-12-20 11:51:25 +0100
committerGuillaume Rousse <guillomovitch@gmail.com>2020-12-20 11:51:25 +0100
commitc15d2f1e5e3cc6488b8d1415f463485d9eccfd43 (patch)
tree9cee39df0b6e8a581ca9648b5d1d8da979000625 /create-ssl-certificate
parent344e8fcf311f269c51910088538e044926564afd (diff)
downloadrpm-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
Diffstat (limited to 'create-ssl-certificate')
-rwxr-xr-xcreate-ssl-certificate2
1 files changed, 1 insertions, 1 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