Commit graph

16 commits

Author SHA1 Message Date
Johann150
eec057515d
finish up for merge 2021-03-23 23:25:04 +01:00
Johann150
782e043083
fix tests for multiple certificates
The tests now actually check that a specific certificate is being used by only
loading the correct one into the trust chain while running the test. The
problem before was that openssl-req by default generates CA-capable certs which
are not accepted by rustls.
2021-03-11 22:24:10 +01:00
Johann150
f03e8e8596
add test for multicert 2021-03-03 18:57:41 +01:00
Johann150
06819eeabd
add loading fallback certificates 2021-02-28 15:12:20 +01:00
Johann150
ce55c964dd
add tests for vhosts
closes #34
2021-02-27 10:08:28 +01:00
Johann150
43014748bf
optimise tests
added comments on the tests to document what they tests because some also test
multiple things
2021-02-27 09:54:56 +01:00
Johann150
8a6eb65b48
add test for TLS version selection
Since rustls does not even support TLS versions below 1.2, no need to check
for that.
2021-02-25 20:17:43 +01:00
Johann150
8b4692b08b
use RAII guard in tests 2021-02-25 20:17:29 +01:00
Johann150
9925d927a4
add more tests 2021-02-20 11:14:14 +01:00
Johann150
3c6684d54c
allow for parallel tests
By default the libtest test harness runs multiple tests in parallel.
This makes tests fail because the server port is already occupied by another port.
2021-02-20 10:22:12 +01:00
Johann150
f6ba98aa24
add test framework and a basic test 2021-02-19 19:31:59 +01:00
Matt Brubeck
2b26ed9167 README 2020-05-20 14:51:00 -07:00
Matt Brubeck
edec8f08bc Switch to pkcs8 key file 2020-05-17 19:13:18 -07:00
Matt Brubeck
e911d7e38d Add test key 2020-05-17 12:12:53 -07:00
Matt Brubeck
bf439b4c52 Trying to fix TLS 2020-05-17 09:58:55 -07:00
Matt Brubeck
bbd0035eb4 WIP: Add SSL config 2020-05-17 09:04:58 -07:00