diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-05-17 10:41:50 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-05-17 10:41:50 +0200 |
commit | b31211c1c1454b3ab8720a4a7417983f4b859463 (patch) | |
tree | 17c277dcf359fe853cf570a1aff35c45efc3fac8 | |
parent | fd91fc58c76dd385a657907b827a06ec09d54741 (diff) |
Move PSK example configuration to a separate file.
-rw-r--r-- | lib/examples/client-psk.conf | 18 | ||||
-rw-r--r-- | lib/examples/client.conf | 15 |
2 files changed, 18 insertions, 15 deletions
diff --git a/lib/examples/client-psk.conf b/lib/examples/client-psk.conf new file mode 100644 index 0000000..7b35e23 --- /dev/null +++ b/lib/examples/client-psk.conf @@ -0,0 +1,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" + } +} diff --git a/lib/examples/client.conf b/lib/examples/client.conf index a19b699..b0b4536 100644 --- a/lib/examples/client.conf +++ b/lib/examples/client.conf @@ -22,18 +22,3 @@ realm blocking-tls { 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" - } -} |