X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fclient.conf;h=bf57434ffb94ae593a22fb0dedd2651fa0f06085;hb=4b0ff99282a91bba93eec9db37831be73b8134e4;hp=e02d7079652d473b33e1d7397aa98c1f9fbb4249;hpb=b07f9ade9bad2ec38d4dc9f6592f64dff2e1b120;p=radsecproxy.git diff --git a/lib/examples/client.conf b/lib/examples/client.conf index e02d707..bf57434 100644 --- a/lib/examples/client.conf +++ b/lib/examples/client.conf @@ -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 = - #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 */ } }