Make "cadir" and "certdir" globals
authorAlan T. DeKok <aland@freeradius.org>
Fri, 10 Jun 2011 12:52:57 +0000 (14:52 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 10 Jun 2011 12:52:57 +0000 (14:52 +0200)
raddb/modules/eap
raddb/radiusd.conf.in
raddb/sites-available/tls

index 4c9a661..237d8be 100644 (file)
                #  ANYONE who has a certificate signed by them can
                #  authenticate via EAP-TLS!  This is likely not what you want.
                tls {
-                       #
-                       #  These is used to simplify later configurations.
-                       #
-                       certdir = ${confdir}/certs
-                       cadir = ${confdir}/certs
-
                        private_key_password = whatever
                        private_key_file = ${certdir}/server.pem
 
index 2220532..baa8cfa 100644 (file)
@@ -66,6 +66,8 @@ name = radiusd
 
 #  Location of config and logfiles.
 confdir = ${raddbdir}
+certdir = ${raddbdir}/certs
+cadir   = ${raddbdir}/certs
 run_dir = ${localstatedir}/run/${name}
 
 # Should likely be ${localstatedir}/lib/radiusd
index 7327500..128130b 100644 (file)
@@ -19,12 +19,6 @@ listen {
        #  idea to use different server certificates for EAP and for RADIUS
        #  transport.
        tls {
-               #
-               #  These is used to simplify later configurations.
-               #
-               certdir = ${confdir}/certs
-               cadir = ${confdir}/certs
-
                private_key_password = whatever
                private_key_file = ${certdir}/server.pem
 
@@ -275,12 +269,6 @@ home_server tls {
        status_check = status-server
 
        tls {
-               #
-               #  These is used to simplify later configurations.
-               #
-               certdir = ${confdir}/certs
-               cadir = ${confdir}/certs
-
                private_key_password = whatever
                private_key_file = ${certdir}/client.pem