summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/test_tls.py4
-rw-r--r--test/unit/applications/tls.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index f055aa24..14efb3a7 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -139,7 +139,7 @@ class TestTLS(TestApplicationTLS):
self.assertEqual(
self.conf_get('/certificates/default/key'),
- 'RSA (1024 bits)',
+ 'RSA (2048 bits)',
'certificate key rsa',
)
@@ -250,7 +250,7 @@ default_ca = myca
[ myca ]
new_certs_dir = %(dir)s
database = %(database)s
-default_md = sha1
+default_md = sha256
policy = myca_policy
serial = %(certserial)s
default_days = 1
diff --git a/test/unit/applications/tls.py b/test/unit/applications/tls.py
index 83cc1a03..c8287ac5 100644
--- a/test/unit/applications/tls.py
+++ b/test/unit/applications/tls.py
@@ -68,7 +68,7 @@ class TestApplicationTLS(TestApplicationProto):
with open(self.testdir + '/openssl.conf', 'w') as f:
f.write(
"""[ req ]
-default_bits = 1024
+default_bits = 2048
encrypt_key = no
distinguished_name = req_distinguished_name
[ req_distinguished_name ]"""