From fec669388cbde9dea813209fbc3b88ac293db183 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 20 Apr 2015 07:23:04 -0400 Subject: [PATCH] Use 2K RSA and SHA256 in tests Reviewed-by: Andy Polyakov --- test/CAss.cnf | 2 +- test/CAtsa.cnf | 2 +- test/P1ss.cnf | 4 ++-- test/P2ss.cnf | 4 ++-- test/Uss.cnf | 4 ++-- test/test.cnf | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/CAss.cnf b/test/CAss.cnf index 1ec96af332..b4a7030c91 100644 --- a/test/CAss.cnf +++ b/test/CAss.cnf @@ -7,7 +7,7 @@ RANDFILE = ./.rnd #################################################################### [ req ] -default_bits = 1024 +default_bits = 2048 default_keyfile = keySS.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no diff --git a/test/CAtsa.cnf b/test/CAtsa.cnf index b497b50452..9bdc614163 100644 --- a/test/CAtsa.cnf +++ b/test/CAtsa.cnf @@ -51,7 +51,7 @@ emailAddress = optional #---------------------------------------------------------------------- [ req ] -default_bits = 1024 +default_bits = 2048 default_md = sha1 distinguished_name = $ENV::TSDNSECT encrypt_rsa_key = no diff --git a/test/P1ss.cnf b/test/P1ss.cnf index 326cce2ba8..e6118dc816 100644 --- a/test/P1ss.cnf +++ b/test/P1ss.cnf @@ -7,11 +7,11 @@ RANDFILE = ./.rnd #################################################################### [ req ] -default_bits = 1024 +default_bits = 2048 default_keyfile = keySS.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no -default_md = md2 +default_md = sha256 [ req_distinguished_name ] countryName = Country Name (2 letter code) diff --git a/test/P2ss.cnf b/test/P2ss.cnf index 8b502321b8..d530e31f99 100644 --- a/test/P2ss.cnf +++ b/test/P2ss.cnf @@ -7,11 +7,11 @@ RANDFILE = ./.rnd #################################################################### [ req ] -default_bits = 1024 +default_bits = 2048 default_keyfile = keySS.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no -default_md = md2 +default_md = sha256 [ req_distinguished_name ] countryName = Country Name (2 letter code) diff --git a/test/Uss.cnf b/test/Uss.cnf index 98b2e054b7..58ac0ca54d 100644 --- a/test/Uss.cnf +++ b/test/Uss.cnf @@ -7,11 +7,11 @@ RANDFILE = ./.rnd #################################################################### [ req ] -default_bits = 1024 +default_bits = 2048 default_keyfile = keySS.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no -default_md = md2 +default_md = sha256 [ req_distinguished_name ] countryName = Country Name (2 letter code) diff --git a/test/test.cnf b/test/test.cnf index 10834442a1..718b0bf1f2 100644 --- a/test/test.cnf +++ b/test/test.cnf @@ -56,7 +56,7 @@ emailAddress = optional #################################################################### [ req ] -default_bits = 1024 +default_bits = 2048 default_keyfile = testkey.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no -- GitLab