diff options
Diffstat (limited to 'lib/examples')
-rw-r--r-- | lib/examples/client-tls.conf | 14 | ||||
-rw-r--r-- | lib/examples/client-udp.conf | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/examples/client-tls.conf b/lib/examples/client-tls.conf new file mode 100644 index 0000000..4d0904d --- /dev/null +++ b/lib/examples/client-tls.conf @@ -0,0 +1,14 @@ +config blocking-tls { + type = "TLS" + timeout = 1 + retries = 3 + cacertfile = "/home/linus/nordberg-ca.crt" +# cacertfile = "/home/linus/p/moonshot/demoCA/cacert.pem" + certfile = "/home/linus/p/moonshot/radsecproxy-test.crt" + certkeyfile = "/home/linus/p/moonshot/radsecproxy-test.key" + server { + hostname = "localhost" + service = "2083" + secret = "sikrit" + } +} diff --git a/lib/examples/client-udp.conf b/lib/examples/client-udp.conf new file mode 100644 index 0000000..a83fb26 --- /dev/null +++ b/lib/examples/client-udp.conf @@ -0,0 +1,10 @@ +config blocking-udp { + type = "UDP" + server { + hostname = "localhost" + service = "1820" + secret = "sikrit" + timeout = 1 /* optional */ + tries = 10 /* optional */ + } +} |