diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-07-08 20:46:06 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-07-08 20:46:06 +0300 |
commit | 8a579acddeae0c0106e15d82aa7220ac01deba84 (patch) | |
tree | 4e11155e4180b32b666e78ced6345c2017603591 /test/test_tls.py | |
parent | 9a39b0101a506738b8e7fd68af39fc73e329025a (diff) | |
download | unit-8a579acddeae0c0106e15d82aa7220ac01deba84.tar.gz unit-8a579acddeae0c0106e15d82aa7220ac01deba84.tar.bz2 |
Tests: made openssl certificates more strong to avoid errors.
Diffstat (limited to '')
-rw-r--r-- | test/test_tls.py | 4 |
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 |