linux:/home/admin/wpa_supplicant-0.5.5 # cat test.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=0
network={
scan_ssid=0
key_mgmt=IEEE8021X
eap=TLS
identity="rafi"
eapol_flags=0
ca_cert="/etc/1x/eap_tls/certs/cacert.pem"
client_cert="/etc/1x/eap_tls/certs/clientcert.pem"
private_key="/etc/1x/eap_tls/certs/clientkey.pem"
private_key_passwd="wimax i2 test certs"
}
eap.conf :
eap {
default_eap_type = tls
timer_expire = 120
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
md5 {
}
leap {
}
gtc {
auth_type = PAP
}
tls {
rsa_key_exchange = yes
dh_key_exchange = no
rsa_key_length = 1024
dh_key_length = 1024
verify_depth = 2
pem_file_type = yes
private_key_password = "wimax i2 test certs"
private_key_file = /usr/local/etc/raddb/certs/rafi/eap_tls_certs/serverkey.pem
certificate_file = /usr/local/etc/raddb/certs/rafi/eap_tls_certs/servercert.pem
CA_file = /usr/local/etc/raddb/certs/rafi/eap_tls_certs/cacert.pem
dh_file = /usr/local/etc/raddb/certs/rafi/dh
random_file = /usr/local/etc/raddb/certs/rafi/random
fragment_size = 1024
include_length = yes
check_cert_cn = %{User-Name}
}
}
users :
rafi Auth-Type := EAP