<div dir="ltr">Hi all,<div><br></div><div>I&#39;m using wpa_supplicant with OpenWrt to auth my corporation network but failed.</div><div><br></div><div>The version is wpa_supplicant v2.3-devel and the command line is:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">wpa_supplicant -i eth2 -c /etc/wpa_supplicant.conf -D wired -dd</blockquote><div><br></div><div>The conf is:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">ctrl_interface=/var/run/wpa_supplicant<br>ctrl_interface_group=root<br>ap_scan=0<br>network={<br>       key_mgmt=IEEE8021X<br>       eap=PEAP<br>       identity=&quot;username&quot;<br>       password=&quot;password&quot;<br>       phase2=&quot;auth=MSCHAPV2&quot;<br>       priority=2<br>}</blockquote><div><br></div><div>The result is:</div><div> Successfully initialized wpa_supplicant</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">eth2: Associated with xx:xx:xx:xx:xx:xx<br>eth2: CTRL-EVENT-EAP-STARTED EAP authentication started<br>eth2: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25<br>eth2: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected<br>X509: Certificate not valid (now=1431398943 not_before=1410401515 not_after=28799)<br>eth2: CTRL-EVENT-EAP-FAILURE EAP authentication failed</blockquote><div><br></div><div>Note that not_after is less than not_before, which is weird.</div><div><br></div><div>My corporation uses self-issued cert, whose validity is from 2014 to 2063.</div></div><div><br></div><div>Is this a bug?</div><div><br></div><div><br></div><div>ps: I can use phase1=&quot;tls_disable_time_checks=1&quot; to get around this, bu it is not safe, is it?</div><div><br></div><div>thanks</div><div><br></div></div>