blob: 9eed1ce493816a761a49963b0e9ea8d7ff89ddf7 [file] [log] [blame]
Chetan Gaonker7f4bf742016-05-04 15:56:08 -07001# -*- text -*-
2#
3# $Id: 9a690b77c2eaea1086d9748012c380283714f452 $
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#
15eap 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 # Support for PEAP/TLS and RFC 5176 TLS/TLS is experimental.
49 # It might work, or it might not.
50 #
51 tls {
52 private_key_password = whatever
53 private_key_file = ${certdir}/inner-server.pem
54
55 # If Private key & Certificate are located in
56 # the same file, then private_key_file &
57 # certificate_file must contain the same file
58 # name.
59 #
60 # If ca_file (below) is not used, then the
61 # certificate_file below MUST include not
62 # only the server certificate, but ALSO all
63 # of the CA certificates used to sign the
64 # server certificate.
65 certificate_file = ${certdir}/inner-server.pem
66
67 # You may want different CAs for inner and outer
68 # certificates. If so, edit this file.
69 ca_file = ${cadir}/ca.pem
70
71 cipher_list = "DEFAULT"
72
73 # You may want to set a very small fragment size.
74 # The TLS data here needs to go inside of the
75 # outer EAP-TLS protocol.
76 #
77 # Try values and see if they work...
78 # fragment_size = 1024
79
80 # Other needful things
81 dh_file = ${certdir}/dh
82 random_file = ${certdir}/random
83
84 # CRL and OCSP things go here. See the main "eap"
85 # file for details.
86 # check_crl = yes
87 # ca_path = /path/to/directory/with/ca_certs/and/crls/
88
89 #
90 # The session resumption / fast re-authentication
91 # cache CANNOT be used for inner sessions.
92 #
93 }
94}