diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-01-24 17:33:08 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-01-24 17:33:08 +0100 |
commit | 7847caaf22f0fadd5532fc6f0525bfd75ef72fef (patch) | |
tree | d18f9cfe12b8ae03c4242665b7488eafbb27d407 | |
parent | 9cf549b20eb0ae56afac8c3ddff8725c8c1380db (diff) |
Add PSK example in examples/client.conf.
-rw-r--r-- | lib/examples/client.conf | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/examples/client.conf b/lib/examples/client.conf index 1540bbe..a19b699 100644 --- a/lib/examples/client.conf +++ b/lib/examples/client.conf @@ -16,13 +16,24 @@ realm blocking-tls { cacertfile = "tests/demoCA/newcerts/01.pem" certfile = "tests/demoCA/newcerts/03.pem" certkeyfile = "tests/demoCA/private/cli1.key" - #pskstr = "sikrit psk" - #pskhexstr = "deadbeef4711" - #pskid = "Client_identity" - #pskex = "PSK" 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" + } +} |