aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-10-04 19:49:14 +0300
committerJani Välimaa <wally@mageia.org>2020-10-04 19:49:14 +0300
commit1d81e575018458395b2df85d9decf7d16e9ea887 (patch)
tree06a21fbacdb01add72b301222645f6d4b537ce40
parent10c4720128b9a2b740e30994375304fe8c5506eb (diff)
downloadrpm-helper-1d81e575018458395b2df85d9decf7d16e9ea887.tar
rpm-helper-1d81e575018458395b2df85d9decf7d16e9ea887.tar.gz
rpm-helper-1d81e575018458395b2df85d9decf7d16e9ea887.tar.bz2
rpm-helper-1d81e575018458395b2df85d9decf7d16e9ea887.tar.xz
rpm-helper-1d81e575018458395b2df85d9decf7d16e9ea887.zip
create-ssl-certificate: default to 4096 bit SSL certificates (mga#27359)
-rw-r--r--NEWS2
-rwxr-xr-xcreate-ssl-certificate2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5251d74..9965c6c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+ * default to 4096 bit SSL certificates (mga#27359)
+
2020-07-24 Olav Vitters <ovitters@mageia.org 0.24.18
* correctly check if systemd has booted
* show project as Mageia instead of Mandriva
diff --git a/create-ssl-certificate b/create-ssl-certificate
index a0d7352..398470a 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=2048
+ KEY_LENGTH=4096
CERT_DAYS=365
EMAIL_ADDRESS=root@$host
COMMON_NAME=$host