summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-https-inspect.pl
blob: 5db6c695ab93617b601e94a9f31031edab0a6a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# test https connection over http relay with TLS inspection

use strict;
use warnings;

our %args = (
    client => {
	func => \&http_client,
	ssl => 1,
	loggrep => 'Issuer.*/OU=ca/',
    },
    relayd => {
	protocol => [ "http",
	    "match request header log foo",
	    "match response header log bar",
	],
	inspectssl => 1,
    },
    server => {
	func => \&http_server,
	ssl => 1,
    },
    len => 251,
    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
);

1;