summaryrefslogtreecommitdiff
path: root/examples/client.conf
diff options
context:
space:
mode:
authorSam Hartman <hartmans@debian.org>2016-12-19 09:10:41 -0500
committerSam Hartman <hartmans@debian.org>2016-12-19 09:10:41 -0500
commit3f8ec50ff35e2c13cc8996587eec7d0c9dc820d6 (patch)
treed53d7939172ac4c76c79094461419d3baa347124 /examples/client.conf
parent2764063d4a2a536dfe6f3241c291b550587b46cf (diff)
debian-changes
Gbp-Pq: Name debian-changes
Diffstat (limited to 'examples/client.conf')
-rw-r--r--examples/client.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/client.conf b/examples/client.conf
new file mode 100644
index 0000000..b0b4536
--- /dev/null
+++ b/examples/client.conf
@@ -0,0 +1,24 @@
+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"
+ }
+}