From: Rich Salz Date: Mon, 20 Apr 2015 11:23:04 +0000 (-0400) Subject: Use 2K RSA and SHA256 in tests X-Git-Tag: OpenSSL_1_1_0-pre1~1308 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fec669388cbde9dea813209fbc3b88ac293db183;p=oweals%2Fopenssl.git Use 2K RSA and SHA256 in tests Reviewed-by: Andy Polyakov --- 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