802.1x wired EAP authentication failed by using wpa_supplicant
hayatelee at gmail.com
Tue May 12 01:46:04 EDT 2015
I'm using wpa_supplicant with OpenWrt to auth my corporation network but
The version is wpa_supplicant v2.3-devel and the command line is:
wpa_supplicant -i eth2 -c /etc/wpa_supplicant.conf -D wired -dd
The conf is:
The result is:
Successfully initialized wpa_supplicant
> eth2: Associated with xx:xx:xx:xx:xx:xx
> eth2: CTRL-EVENT-EAP-STARTED EAP authentication started
> eth2: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
> eth2: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
> X509: Certificate not valid (now=1431398943 not_before=1410401515
> eth2: CTRL-EVENT-EAP-FAILURE EAP authentication failed
Note that not_after is less than not_before, which is weird.
My corporation uses self-issued cert, whose validity is from 2014 to 2063.
Is this a bug?
ps: I can use phase1="tls_disable_time_checks=1" to get around this, bu it
is not safe, is it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP