Bringing up TLS connections working.
[radsecproxy.git] / lib / examples / client.conf
index fe2ded5..e939756 100644 (file)
@@ -1,4 +1,4 @@
-config blocking {
+config blocking-udp {
     type = "UDP"
     server {
         hostname = "localhost"
@@ -8,3 +8,23 @@ config blocking {
        tries = 10            /* optional */
     }
 }
+config blocking-tls {
+    type = "TLS"
+
+    cacertfile = "/home/linus/nordberg-ca.crt"
+    #cacertpath = 
+    certfile = "/home/linus/p/radsecproxy/src/maatuska.nordberg.se.crt"
+    certkeyfile = "/home/linus/p/radsecproxy/src/maatuska.nordberg.se.key"
+    #certkeypwd = "passphrase"
+    #cacheexpiry = <seconds>
+    #crlcheck = "on" | "off"
+    #policyoids = ?
+    
+    server {
+        hostname = "localhost"
+       service = "4433"
+       secret = "sikrit"
+       timeout = 1         /* optional */
+       tries = 10            /* optional */
+    }
+}