Add TLS PSK configuration options.
[radsecproxy.git] / lib / examples / client.conf
1 dictionary = "/usr/share/freeradius/dictionary"
2
3 realm blocking-udp {
4     type = "UDP"
5     timeout = 2
6     retries = 2
7     server {
8         hostname = "127.0.0.1"
9         service = "1820"
10         secret = "sikrit"
11     }
12 }
13
14 realm blocking-tls {
15     type = "TLS"
16     timeout = 1
17     retries = 3
18     cacertfile = "tests/demoCA/newcerts/01.pem"
19     certfile = "tests/demoCA/newcerts/02.pem"
20     certkeyfile = "tests/demoCA/private/c2key.pem"
21     psk = "sikrit psk"
22     pskid = "allan"
23     pskex = "PSK"
24     server {
25         hostname = "localhost"
26         service = "2083"
27         secret = "sikrit"
28     }
29 }