Move PSK example configuration to a separate file.
[radsecproxy.git] / lib / examples / client.conf
index e02d707..b0b4536 100644 (file)
@@ -1,30 +1,24 @@
-config blocking-udp {
+realm blocking-udp {
     type = "UDP"
+    timeout = 2
+    retries = 2
     server {
-        hostname = "localhost"
+        hostname = "127.0.0.1"
        service = "1820"
        secret = "sikrit"
-       timeout = 1         /* optional */
-       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 = ?
-    
+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 = "localhost"
+        hostname = "srv1"
        service = "2083"
        secret = "sikrit"
-       timeout = 1         /* optional */
-       tries = 10            /* optional */
     }
 }