| 1 |
# -*- text -*- |
| 2 |
# |
| 3 |
# $Id: 576eb7739ebf18ca6323cb740a7d4278ff6d6ea2 $ |
| 4 |
|
| 5 |
# |
| 6 |
# Sample configuration for an EAP module that occurs *inside* |
| 7 |
# of a tunneled method. It is used to limit the EAP types that |
| 8 |
# can occur inside of the inner tunnel. |
| 9 |
# |
| 10 |
# See also raddb/sites-available/inner-tunnel |
| 11 |
# |
| 12 |
# See raddb/mods-available/eap for full documentation on the meaning of these |
| 13 |
# configuration entries. |
| 14 |
# |
| 15 |
eap inner-eap { |
| 16 |
# This is the best choice for PEAP. |
| 17 |
default_eap_type = mschapv2 |
| 18 |
|
| 19 |
timer_expire = 60 |
| 20 |
|
| 21 |
# This should be the same as the outer eap "max sessions" |
| 22 |
max_sessions = 2048 |
| 23 |
|
| 24 |
# Supported EAP-types |
| 25 |
md5 { |
| 26 |
} |
| 27 |
|
| 28 |
gtc { |
| 29 |
# The default challenge, which many clients |
| 30 |
# ignore.. |
| 31 |
#challenge = "Password: " |
| 32 |
|
| 33 |
auth_type = PAP |
| 34 |
} |
| 35 |
|
| 36 |
mschapv2 { |
| 37 |
# See eap for documentation |
| 38 |
# send_error = no |
| 39 |
} |
| 40 |
|
| 41 |
# No TTLS or PEAP configuration should be listed here. |
| 42 |
|
| 43 |
## EAP-TLS |
| 44 |
# |
| 45 |
# You SHOULD use different certificates than are used |
| 46 |
# for the outer EAP configuration! |
| 47 |
# |
| 48 |
# You can create the "inner-server.pem" file by doing: |
| 49 |
# |
| 50 |
# cd raddb/certs |
| 51 |
# vi inner-server.cnf |
| 52 |
# make inner-server |
| 53 |
# |
| 54 |
# The certificate MUST be different from the "server.cnf" |
| 55 |
# file. |
| 56 |
# |
| 57 |
# Support for PEAP/TLS and RFC 5176 TLS/TLS is experimental. |
| 58 |
# It might work, or it might not. |
| 59 |
# |
| 60 |
tls { |
| 61 |
private_key_password = whatever |
| 62 |
private_key_file = ${certdir}/inner-server.pem |
| 63 |
|
| 64 |
# If Private key & Certificate are located in |
| 65 |
# the same file, then private_key_file & |
| 66 |
# certificate_file must contain the same file |
| 67 |
# name. |
| 68 |
# |
| 69 |
# If ca_file (below) is not used, then the |
| 70 |
# certificate_file below MUST include not |
| 71 |
# only the server certificate, but ALSO all |
| 72 |
# of the CA certificates used to sign the |
| 73 |
# server certificate. |
| 74 |
certificate_file = ${certdir}/inner-server.pem |
| 75 |
|
| 76 |
# You may want different CAs for inner and outer |
| 77 |
# certificates. If so, edit this file. |
| 78 |
ca_file = ${cadir}/ca.pem |
| 79 |
|
| 80 |
cipher_list = "DEFAULT" |
| 81 |
|
| 82 |
# You may want to set a very small fragment size. |
| 83 |
# The TLS data here needs to go inside of the |
| 84 |
# outer EAP-TLS protocol. |
| 85 |
# |
| 86 |
# Try values and see if they work... |
| 87 |
# fragment_size = 1024 |
| 88 |
|
| 89 |
# Other needful things |
| 90 |
dh_file = ${certdir}/dh |
| 91 |
random_file = /dev/urandom |
| 92 |
|
| 93 |
# CRL and OCSP things go here. See the main "eap" |
| 94 |
# file for details. |
| 95 |
# check_crl = yes |
| 96 |
# ca_path = /path/to/directory/with/ca_certs/and/crls/ |
| 97 |
|
| 98 |
# Accept an expired Certificate Revocation List |
| 99 |
# |
| 100 |
# allow_expired_crl = no |
| 101 |
|
| 102 |
# |
| 103 |
# The session resumption / fast re-authentication |
| 104 |
# cache CANNOT be used for inner sessions. |
| 105 |
# |
| 106 |
} |
| 107 |
} |