Mercurial > hg > nginx-tests
comparison ssl_certificate_chain.t @ 1116:8ef51dbb5d69
Tests: reduced OpenSSL default key length to 1024.
This allows to speed up ssl tests up to two times and above.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 20 Jan 2017 18:55:03 +0300 |
parents | 882267679006 |
children | 0af58b78df35 |
comparison
equal
deleted
inserted
replaced
1115:54e07593713a | 1116:8ef51dbb5d69 |
---|---|
71 | 71 |
72 my $d = $t->testdir(); | 72 my $d = $t->testdir(); |
73 | 73 |
74 $t->write_file('openssl.conf', <<EOF); | 74 $t->write_file('openssl.conf', <<EOF); |
75 [ req ] | 75 [ req ] |
76 default_bits = 2048 | 76 default_bits = 1024 |
77 encrypt_key = no | 77 encrypt_key = no |
78 distinguished_name = req_distinguished_name | 78 distinguished_name = req_distinguished_name |
79 [ req_distinguished_name ] | 79 [ req_distinguished_name ] |
80 EOF | 80 EOF |
81 | 81 |