I'm having trouble connecting wpa_supplicant to a secured network. When I connect with:
wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf
I get:
Code: Select all
wlan0: Trying to associate with d8:c7:c8:17:56:3a (SSID='psu' freq=5220 MHz)
wlan0: Associated with d8:c7:c8:17:56:3a
wlan0: Authentication with d8:c7:c8:17:56:3a timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Code: Select all
wlan0: Trying to associate with d8:c7:c8:17:56:32 (SSID='psu' freq=2412 MHz)
wlan0: Associated with d8:c7:c8:17:56:32
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected
TLS: Certificate verification failed, error 20 (unable to get local issuer certificate) depth 1 for '/C=US/O=Internet2/OU=InCommon/CN=InCommon Server CA'
wlan0: CTRL-EVENT-EAP-TLS-CERT-ERROR reason=1 depth=1 subject='/C=US/O=Internet2/OU=InCommon/CN=InCommon Server CA' err='unable to get local issuer certificate'
SSL: SSL3 alert: write (local SSL3 detected an error):fatal:unknown CA
OpenSSL: openssl_handshake - SSL_connect error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
wlan0: Authentication with d8:c7:c8:17:56:32 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
wpa_supplicant -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf
which gave me.
Code: Select all
wlan0: Trying to associate with d8:c7:c8:17:53:82 (SSID='psu' freq=2437 MHz)
wlan0: Associated with d8:c7:c8:17:53:82
wlan0: Authentication with d8:c7:c8:17:53:82 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
wpa_supplicant.conf:
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="psu"
identity=<username>
password=<password>
key_mgmt=WPA-EAP
eap=TTLS
phase2="auth=PAP"
scan_ssid=1
ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
}



