aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xcreate-ssl-certificate2
-rw-r--r--ssl2
3 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4d133eb..9735173 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+ * default SSL certificates to 2048-bit (mga#15576)
+
2014-10-28 Colin Guthrie <colin@mageia.org> 0.24.16
* deal with xinetd.d services properly (e.g. sane mga#14397)
diff --git a/create-ssl-certificate b/create-ssl-certificate
index 954f187..599719b 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=1024
+ KEY_LENGTH=2048
CERT_DAYS=365
EMAIL_ADDRESS=root@$host
COMMON_NAME=$host
diff --git a/ssl b/ssl
index 9e03c04..9df9ae7 100644
--- a/ssl
+++ b/ssl
@@ -1,7 +1,7 @@
# configuration file for create-ssl-certificate rpm scriptlet
# key length
-KEY_LENGTH=1024
+KEY_LENGTH=2048
# certificate duration
CERT_DAYS=365