aboutsummaryrefslogtreecommitdiff
path: root/tests/certs/scripts
diff options
context:
space:
mode:
authorYiming Jing <jingyiming@baidu.com>2018-09-10 11:32:23 -0700
committerDaniel Stenberg <daniel@haxx.se>2018-09-12 16:09:17 +0200
commit92f9db17466c4e28998a5cf849c7a861093eff23 (patch)
tree4173c70c1464379042d3869adb0980c51c71834e /tests/certs/scripts
parent683fed1a22613c00e4381147f6a1bdb3dc921532 (diff)
tests/certs: rebuild certs with 2048-bit RSA keys
The previous test certificates contained RSA keys of only 1024 bits. However, RSA claims that 1024-bit RSA keys are likely to become crackable some time before 2010. The NIST recommends at least 2048-bit keys for RSA for now. Better use full 2048 also for testing. Closes #2973
Diffstat (limited to 'tests/certs/scripts')
-rwxr-xr-xtests/certs/scripts/genserv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/certs/scripts/genserv.sh b/tests/certs/scripts/genserv.sh
index 50bac0116..488d770f6 100755
--- a/tests/certs/scripts/genserv.sh
+++ b/tests/certs/scripts/genserv.sh
@@ -15,7 +15,7 @@ USAGE="echo Usage is genserv.sh <prefix> <caprefix>"
HOME=`pwd`
cd $HOME
-KEYSIZE=1024
+KEYSIZE=2048
DURATION=3000
REQ=YES