summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/examples/client.conf19
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"
+ }
+}