Commit graph

5 commits

Author SHA1 Message Date
Tobias Wiese
31bdbfce92 sslutils: use chain from client certificates
sslutils used to load only the first certificate when it was given a
client certificate file.

Added tests for check_http to connect to a http server that expects a
client certificate (simple and with chain).

Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
2022-01-30 12:25:56 +01:00
Sven Nierlein
b123585354 tests: update expired test certificate
the certificate used to test expired http checks is to old to be used
with recent ssl libraries and results in:

> SSL routines:SSL_CTX_use_certificate:ee key too small

unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in
the check_http.t file.
2020-05-15 14:22:51 +02:00
Sven Nierlein
8442ed5b41 renew test certificates
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2019-02-19 16:35:28 +01:00
Ton Voon
674841e279 Create expired cert for testing purposes. Updated tests to check
expired and unexpired certificates
2009-03-06 00:24:38 +00:00
Ton Voon
8580335779 Added inline tests for HTTPS using HTTP::Daemon::SSL 2009-03-05 23:37:45 +00:00