I just wanted to say that comment #19 of removing "system-ca-certs=true"
from /etc/NetworkManager/system-connections also worked for me.
Actually, what I did was set the statement to false. When I re-started
the connection, it worked on the next try.

I also did a sudo chmod -w NUwave after the first time it connected, so
that should avoid the statement from reappearing since now the file is
read-only. Given the connection name, I'm at Northeastern University,
which uses WPA2/PEAP/MSCHAP as well.

>From /var/log/syslog upon successful authentication:

May  2 13:21:52 wpa_supplicant[1434]: wlan0: CTRL-EVENT-EAP-STARTED EAP 
authentication started
May  2 13:21:52 wpa_supplicant[1434]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD 
vendor=0 method=25
May  2 13:21:52 wpa_supplicant[1434]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 
method 25 (PEAP) selected
May  2 13:21:52 wpa_supplicant[1434]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 
subject='/C=US/ST=Massachusetts/L=Boston/O=Northeastern 
University/OU=IT/CN=wireless.neu.edu'
May  2 13:21:52 wpa_supplicant[1434]: last message repeated 2 times
May  2 13:21:52 Faraday wpa_supplicant[1434]: EAP-MSCHAPV2: Authentication 
succeeded

Before the statement was switched to false, syslog showed statements
like:

May  2 13:02:59 wpa_supplicant[1483]: wlan0: CTRL-EVENT-EAP-STARTED EAP 
authentication started
May  2 13:02:59 wpa_supplicant[1483]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD 
vendor=0 method=25
May  2 13:02:59 wpa_supplicant[1483]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 
method 25 (PEAP) selected
May  2 13:02:59 wpa_supplicant[1483]: TLS: Certificate verification failed, 
error 20 (unable to get local issuer certificate) depth 0 for 
'/C=US/ST=Massachusetts/L=Boston/O=Northeastern 
University/OU=IT/CN=wireless.neu.edu'
May  2 13:02:59 wpa_supplicant[1483]: wlan0: CTRL-EVENT-EAP-TLS-CERT-ERROR 
reason=1 depth=0 subject='/C=US/ST=Massachusetts/L=Boston/O=Northeastern 
University/OU=IT/CN=wireless.neu.edu' err='unable to get local issuer 
certificate'
May  2 13:02:59 wpa_supplicant[1483]: SSL: SSL3 alert: write (local SSL3 
detected an error):fatal:unknown CA
May  2 13:02:59 wpa_supplicant[1483]: OpenSSL: openssl_handshake - SSL_connect 
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
failed
May  2 13:02:59 wpa_supplicant[1483]: wlan0: CTRL-EVENT-EAP-FAILURE EAP 
authentication failed
May  2 13:03:00 wpa_supplicant[1483]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:24:6c:e7:7b:51 reason=6

Before I had tried this, I had attempted to use the certificate that
Windows 7 associated with the same NUwave wireless connection, but I was
still unsuccessful at authenticating even with that. The odd thing is
that a few weeks back when I tested with an Ubuntu 13.04 Beta 2 USB
stick it worked fine, but stopped working at some point, and I re-tested
with the USB stick today and it still failed, so at that point I knew it
wasn't anything package related and stumbled across this bug and
solution which fixed it! :)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1104476

Title:
  Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without
  CA_Certificate

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  I can connect to Eduroam in 12.10 and any other previous release, but
  not in 13.04. I checked, my name and password are correct, all
  settings are the same as in 12.10.

  Network properties:

  security: WPA - WPA2 enterprise
  authentication: protected EAP (PEAP)
  CA certificate: none
  PEAP version: automatic
  inner autentication: MSCHAPv2
  username: (required)
  password: (required)

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: network-manager 0.9.6.0+git201301021750.e78c3e8-0ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
  Uname: Linux 3.8.0-1-generic i686
  ApportVersion: 2.8-0ubuntu2
  Architecture: i386
  CasperVersion: 1.330
  Date: Thu Jan 24 21:32:25 2013
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IpRoute:
   default via 192.168.43.1 dev wlan0  proto static 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.43.0/24 dev wlan0  proto kernel  scope link  src 192.168.43.149  
metric 9
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130123)
  MarkForUpload: True
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-con:
   NAME                      UUID                                   TYPE        
      TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   
DBUS-PATH                                 
   AndroidAP                 978da457-563b-4c59-a894-45eb0f74fcb7   
802-11-wireless   1359063171   Thu 24 Jan 2013 09:32:51 PM UTC    yes           
no         /org/freedesktop/NetworkManager/Settings/2
   Wired connection 1        6703fabc-9519-49bd-a4af-45fbfb7d660e   
802-3-ethernet    1359062570   Thu 24 Jan 2013 09:22:50 PM UTC    yes           
no         /org/freedesktop/NetworkManager/Settings/1
   eduroam                   00f69a95-4a1b-436c-b462-a284f45fbaa1   
802-11-wireless   1359063171   Thu 24 Jan 2013 09:32:51 PM UTC    yes           
no         /org/freedesktop/NetworkManager/Settings/0
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                         
         
   wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/1  
   eth0       802-3-ethernet    unavailable   
/org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   
WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.7.0    connected       enabled       enabled         
enabled    enabled         disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to