Merge libradsec-new-client.
[radsecproxy.git] / lib / examples / client.conf
index e02d707..bf57434 100644 (file)
@@ -1,30 +1,28 @@
-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/02.pem"
+    certkeyfile = "tests/demoCA/private/c2key.pem"
+    #pskstr = "sikrit psk"
+    pskhexstr = "deadbeef4711"
+    pskid = "Client_identity"
+    pskex = "PSK"
     server {
         hostname = "localhost"
        service = "2083"
        secret = "sikrit"
-       timeout = 1         /* optional */
-       tries = 10            /* optional */
     }
 }