summaryrefslogtreecommitdiff
path: root/lib/examples/client.conf
blob: a19b699ec2e69ef5f213583c23cd8feb0387635c (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
realm blocking-udp {
    type = "UDP"
    timeout = 2
    retries = 2
    server {
        hostname = "127.0.0.1"
	service = "1820"
	secret = "sikrit"
    }
}

realm blocking-tls {
    type = "TLS"
    timeout = 1
    retries = 3
    cacertfile = "tests/demoCA/newcerts/01.pem"
    certfile = "tests/demoCA/newcerts/03.pem"
    certkeyfile = "tests/demoCA/private/cli1.key"
    server {
        hostname = "srv1"
	service = "2083"
	secret = "sikrit"
    }
}

realm blocking-tls-psk {
    type = "TLS"
    timeout = 1
    retries = 3
    #pskstr = "sikrit psk"
    pskhexstr = "deadbeef4711"
    pskid = "Client_identity"
    pskex = "PSK"
    server {
        hostname = "srv1"
	service = "4433"
	secret = "sikrit"
    }
}