summaryrefslogtreecommitdiffstats
path: root/src/tests/tls/proxy/proxy.conf
blob: e2631c417101b847e24d7a023af72ccc0a1d3542 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
home_server home {
	ipaddr = 127.0.0.1
	port = $ENV{FR_LOCAL_PREFIX}2083
	type = auth
	secret = radsec
	proto = tcp
	status_check = none

	nonblock = yes

	revive_interval = 10

	tls {
		private_key_password = whatever
		private_key_file = ${certdir}/client.pem
		certificate_file = ${certdir}/client.pem
		ca_file = ${cadir}/ca.pem
		fragment_size = 8192
		ca_path = ${cadir}
		cipher_list = "DEFAULT"
		tls_min_version = "1.2"
		tls_max_version = "1.2"
	}
}

home_server_pool home {
	type = fail-over
	home_server = home
}

home_server home_acct {
	ipaddr = 127.0.0.1
	port = $ENV{FR_LOCAL_PREFIX}2084
	type = acct
	secret = radsec
	proto = tcp
	status_check = none

#	nonblock = yes

	revive_interval = 10

	tls {
		private_key_password = whatever
		private_key_file = ${certdir}/client.pem
		certificate_file = ${certdir}/client.pem
		ca_file = ${cadir}/ca.pem
		fragment_size = 8192
		ca_path = ${cadir}
		cipher_list = "DEFAULT"
		tls_min_version = "1.3"
		tls_max_version = "1.3"
	}
}

home_server_pool home_acct {
	type = fail-over
	home_server = home_acct
}