wpa_supplicant logs OpenSSL: Certificate Policy 2.16.840.1.114413.1.7.23.1 OpenSSL: Certificate Policy 2.23.140.1.2.1 wlp1s0f0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/CN=*.ykpaoschool.cn' hash=50cf9ba1cb6ecb72b702a01c4a4cb44118d552c12c50fd973214e75404eec0ec wlp1s0f0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:*.ykpaoschool.cn wlp1s0f0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:ykpaoschool.cn TLS: tls_verify_cb - preverify_ok=1 err=20 (unable to get local issuer certificate) ca_cert_verify=0 depth=0 buf='/CN=*.ykpaoschool.cn' EAP: Status notification: remote certificate verification (param=success) SSL: (where=0x1001 ret=0x1) SSL: SSL_connect:SSLv3/TLS read server certificate OpenSSL: RX ver=0x301 content_type=22 (handshake/server key exchange) OpenSSL: TX ver=0x301 content_type=256 (TLS header info/) OpenSSL: TX ver=0x301 content_type=21 (alert/) SSL: (where=0x4008 ret=0x250) SSL: SSL3 alert: write (local SSL3 detected an error):fatal:internal error EAP: Status notification: local TLS alert (param=internal error) SSL: (where=0x1002 ret=0xffffffff) SSL: SSL_connect:error in error OpenSSL: openssl_handshake - SSL_connect error:03000098:digital envelope routines::invalid digest OpenSSL: pending error: error:0A080006:SSL routines::EVP lib SSL: 7 bytes pending from ssl_out SSL: Using TLS version TLSv1 SSL: Failed - tls_out available to report error (len=7) SSL: 7 bytes left to be sent out (of total 7 bytes) EAP-PEAP: TLS processing failed EAP: method process -> ignore=FALSE methodState=DONE decision=FAIL eapRespData=0xaaab3fef3eb0 EAP: EAP entering state SEND_RESPONSE EAP: EAP entering state IDLE EAPOL: SUPP_BE entering state RESPONSE EAPOL: txSuppRsp TX EAPOL: dst=94:9b:2c:f1:34:b1 EAPOL: SUPP_BE entering state RECEIVE l2_packet_receive: src=94:9b:2c:f1:34:b1 len=8 wlp1s0f0: RX EAPOL from 94:9b:2c:f1:34:b1 (encrypted=-1) EAPOL: Received EAP-Packet frame EAPOL: SUPP_BE entering state REQUEST EAPOL: getSuppRsp EAP: EAP entering state RECEIVED EAP: Received EAP-Failure EAP: Status notification: completion (param=failure) EAP: EAP entering state FAILURE wlp1s0f0: CTRL-EVENT-EAP-FAILURE EAP authentication failed EAPOL: SUPP_PAE entering state HELD EAPOL: Supplicant port status: Unauthorized nl80211: Set supplicant port unauthorized for 94:9b:2c:f1:34:b1 EAPOL: SUPP_BE entering state RECEIVE EAPOL: SUPP_BE entering state FAIL EAPOL: SUPP_BE entering state IDLE EAPOL authentication completed - result=FAILURE wlp1s0f0: Setting authentication timeout: 2 sec 0 usec nl80211: Drv Event 48 (NL80211_CMD_DISCONNECT) received for wlp1s0f0 nl80211: Disconnect event wlp1s0f0: Event DEAUTH (11) received wlp1s0f0: Deauthentication notification wlp1s0f0: * reason 23 (IEEE_802_1X_AUTH_FAILED) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlp1s0f0: CTRL-EVENT-DISCONNECTED bssid=94:9b:2c:f1:34:b1 reason=23 wlp1s0f0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="STUWIRELESS" auth_failures=1 duration=10 reason=AUTH_FAILED wlp1s0f0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=6) wpa_supplicant config ap_scan=1 mac_addr=0 # means use permanent mac address, as my school requires us to not use random mac addresses network={ ssid="STUWIRELESS" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP anonymous_identity="s22537" identity="s22537" password="redacted" phase1="tls_disable_tlsv1_0=0 tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1 tls_disable_tlsv1_3=1" # because they only support tls v1.0 phase2="auth=MSCHAPV2" priority=10 } dmesg [ 1533.442699] net_ratelimit: 125 callbacks suppressed [ 1533.442708] ieee80211 phy0: brcmf_p2p_set_firmware: failed to update device address ret -52 [ 1533.443311] ieee80211 phy0: brcmf_p2p_create_p2pdev: set p2p_disc error [ 1533.443316] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp1s0f type 10 failed: err=-52 [ 1533.538847] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus [ 1534.525047] ieee80211 phy0: brcmf_set_key_mgmt: get okc_enable failed (-52) [ 1543.347249] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus [ 1543.445268] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus [ 1547.071226] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object [ 1547.074547] ieee80211 phy0: brcmf_p2p_set_firmware: failed to update device address ret -52 [ 1547.074832] ieee80211 phy0: brcmf_p2p_create_p2pdev: set p2p_disc error [ 1547.074835] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp1s0f type 10 failed: err=-52 [ 1548.111938] ieee80211 phy0: brcmf_set_key_mgmt: get okc_enable failed (-52) [ 1548.411429] brcmfmac: brcmf_msgbuf_delete_flowring: timed out waiting for txstatus [ 1559.760149] ieee80211 phy0: brcmf_set_key_mgmt: get okc_enable failed (-52) [ 1596.969459] ieee80211 phy0: brcmf_set_key_mgmt: get okc_enable failed (-52)