summaryrefslogtreecommitdiff
path: root/lib/examples/client-psk.conf
blob: 7b35e23b055e0ea30fc78bd768a03a64da2112d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# We keep PSK configurations in a separate config file until
# --enable-tls-psk is on by default. This configuration is not valid
# without PSK support.

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"
    }
}