summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-07-08 20:46:06 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-07-08 20:46:06 +0300
commitd7516e5f4e7709853c5f010f149acf8822c81788 (patch)
treefaf5aec2369d816451c62c1e00e9eca16d245eb1 /test/test_tls.py
parent4ea7d714056f63486a4c3a7d0953e513e898b4ba (diff)
downloadunit-d7516e5f4e7709853c5f010f149acf8822c81788.tar.gz
unit-d7516e5f4e7709853c5f010f149acf8822c81788.tar.bz2
Tests: made openssl certificates more strong to avoid errors.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py4
1 files changed, 2 insertions, 2 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