Network manager cannot connect to WPA2/PEAP/MSCHAPv2 enterprise wifi networks without CA_Certificate, like Eduroam

Bug #1104476 reported by zsolt.ruszinyák
This bug affects 282 people
Affects Status Importance Assigned to Milestone
NetworkManager
Fix Released
High
Release Notes for Ubuntu
Fix Released
Undecided
Andy Whitcroft
Fedora
Fix Released
Medium
Gentoo Linux
Fix Released
Medium
network-manager (Debian)
New
Unknown
network-manager (openSUSE)
Won't Fix
High
network-manager-applet (Ubuntu)
Triaged
High
Unassigned
Nominated for Xenial by Alberto Salvia Novella
Trusty
Triaged
High
Unassigned
wpasupplicant (Ubuntu)
Triaged
High
Unassigned
Nominated for Xenial by Alberto Salvia Novella
Trusty
Triaged
High
Unassigned

Bug Description

HOW TO REPRODUCE:
Connect to a MPA2/PEAP/MSCHAPv2 enterprise wifi network that doesn't use a CA Certificate, like Eduroam.

RESULT:
The computer doesn't connect, as the certificate verification fails.

WORKAROUNDS:
(http://askubuntu.com/questions/279762/cant-connect-to-wpa2-enterprise-peap)

RELEASE NOTES TEXT:
When connecting to MPA2/PEAP/MSCHAPv2 enterprise wifi networks that doesn't use a CA Certificate, like Eduroam, the connection fails (http://askubuntu.com/questions/279762/cant-connect-to-wpa2-enterprise-peap)

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote :
summary: Network manager cannot connect to Eduroam (worldwide WiFi network for
- university students|
+ university students)
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Network manager cannot connect to Eduroam (worldwide WiFi network for university students)

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
hepaly (hurezi) wrote :

I have the same problem. I can not connect to wifi network (WPA and WPA2 Enterprise PEAP, MSCHAPv2 +username/password)
The network manager doesn't accept my password. On last week, it worked well. (2013. 03.15.)

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

The certificate authority is missing. You may want to add it to the configuration in NetworkManager to point to a CA certificate that can be provided to you by your network administrator:

Jan 24 21:28:21 ubuntu wpa_supplicant[3569]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
Jan 24 21:28:21 ubuntu wpa_supplicant[3569]: TLS: Certificate verification failed, error 20 (unable to get local issuer certificate) depth 1 for '/C=SK/L=Bratislava/O=Comenius University/CN=WWW Servers Certification Authority/emailAddress=xxxxxxxxx'
Jan 24 21:28:21 ubuntu wpa_supplicant[3569]: wlan0: CTRL-EVENT-EAP-TLS-CERT-ERROR reason=1 depth=1 subject='/C=SK/L=Bratislava/O=Comenius University/CN=WWW Servers Certification Authority/emailAddress=xxxxxxxx' err='unable to get local issuer certificate'
Jan 24 21:28:21 ubuntu wpa_supplicant[3569]: SSL: SSL3 alert: write (local SSL3 detected an error):fatal:unknown CA
Jan 24 21:28:21 ubuntu wpa_supplicant[3569]: OpenSSL: openssl_handshake - SSL_connect error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Jan 24 21:28:22 ubuntu wpa_supplicant[3569]: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed

I've noticed this too happening with self-signed certificates in universities. The alternative is to edit the connection file in /etc/NetworkManager/system-connections to remove "system-ca-certs=true".

Changed in network-manager (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote :

but why only since 13.04 if it worked fine so far. anyway, I have found something here, it should be the certificate, but I haven't got round to try it myself: http://www.lan.kth.se/eduroam/AddTrust_External_CA_Root.pem does it work for you, hepaly?

Revision history for this message
hepaly (hurezi) wrote :

Hi Zsolt, This problem affects me, when i try to connect to my office network. We never used certificate authority. The wifi network allows the connection, when I use a specific hostname, and username/password. Ubuntu 12.10 is working well. On last week, the wifi connection was OK on ubuntu 13.04.

Revision history for this message
hepaly (hurezi) wrote :

I got a certificate file (*.crt) from IT, and the connection is working well (with this cert. file). It is interesting, because the 12.10 works without this file.

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to Eduroam (worldwide WiFi network for university students)
Download full text (3.7 KiB)

if it doesn't change, this could mean a serious move-away from ubuntu,
cause I instapped ubuntu to many of my friemds juat because they were
unaboe to connect to eduroam in windows! don't underestimate this, I would
mark this of a very high importanace, being a dev...
On Mar 19, 2013 2:02 PM, "hepaly" <email address hidden> wrote:

> I got a certificate file (*.crt) from IT, and the connection is working
> well (with this cert. file). It is interesting, because the 12.10 works
> without this file.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1104476
>
> Title:
> Network manager cannot connect to Eduroam (worldwide WiFi network for
> university students)
>
> Status in “network-manager” package in Ubuntu:
> Invalid
>
> 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 ...

Read more...

Revision history for this message
Alfredo Buttari (alfredo-buttari) wrote : Re: Network manager cannot connect to Eduroam (worldwide WiFi network for university students)

Hi Hepaly,
what kind of certificate did you use? googling around I found (here, for example https://admin.kuleuven.be/icts/english/wifi/eduroam-ubuntu) that with the

/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt

should work but instead it does not work for me.

alfredo

Revision history for this message
hepaly (hurezi) wrote :

Here are some screenshots about this issue:
I can connect to office network without using CA certificate file (ubuntu 12.10 live cd):
http://dl.dropbox.com/u/3104528/network_manager_issue/ubuntu12.10_wpa2E.png

Ubuntu 13.04 daily build doesn't accept my password. (using same settings, as ubuntu 12.10):
http://dl.dropbox.com/u/3104528/network_manager_issue/ubuntu13_04wpa2E.png

But if I use the CA certificate file, what I got from IT guys, then the password validation is OK, and it connects to wifi network.
http://dl.dropbox.com/u/3104528/network_manager_issue/ubuntu13_04wpa2E_ok_with_crt.png

Actually it works well using with CA certificate file, but why does the 12.10 work without this file? Is it bug or feature? :)

Changed in network-manager (Ubuntu):
status: Invalid → New
Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote :

I'm marking this again as new, cause the definition of invalid says that it should be a support request which it is not, because canonical cannot provide support to solve it.

most people don't know what a CA certificate is, so you can't leave it this way, cause they will say, that ubuntu just cannot connect and they are moving back to windows... you have to consider what normal people will think about this.

Revision history for this message
Alfredo Buttari (alfredo-buttari) wrote :

I've tried all sorts of certificates in the last few days (searching on google people say to use different types of them) but I couldn't make this work. Moreover the Eduroam site says to leave the certificate field empty. I can connect with my telephone with no problems so I'm sure the problem is not related to my account. I'll check if it works with an older ubuntu version asap.

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to Eduroam (worldwide WiFi network for university students)
Download full text (3.8 KiB)

I have tries with different certificates (cause my school haven't issued
one) and it didn't work. currently there's no way for us to connect to
eduroam in 13.04.
On Mar 25, 2013 10:50 AM, "Alfredo Buttari" <email address hidden>
wrote:

> I've tried all sorts of certificates in the last few days (searching on
> google people say to use different types of them) but I couldn't make
> this work. Moreover the Eduroam site says to leave the certificate field
> empty. I can connect with my telephone with no problems so I'm sure the
> problem is not related to my account. I'll check if it works with an
> older ubuntu version asap.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1104476
>
> Title:
> Network manager cannot connect to Eduroam (worldwide WiFi network for
> university students)
>
> Status in “network-manager” package in Ubuntu:
> New
>
> 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...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Network manager cannot connect to Eduroam (worldwide WiFi network for university students)

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Igor Petrović (paradajz) wrote :

Also unable to connect, works well in any Ubuntu version except for 13.04.

Revision history for this message
gluca (gianluca-carlesso) wrote :

Hi! i have same bug. The problem occurs only in 13.04.

Revision history for this message
Eduard Gotwig (gotwig) wrote :

I have the same problem.
Very bad.

My college, the b.i.b International College Bergisch Gladbach (www.bg.bib.de) is affected!

In 12.04 it worked perfectly!

summary: - Network manager cannot connect to Eduroam (worldwide WiFi network for
- university students)
+ Network manager cannot connect to WPA/PEAP/MSCHAPv2 network
summary: - Network manager cannot connect to WPA/PEAP/MSCHAPv2 network
+ Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network
Revision history for this message
Eduard Gotwig (gotwig) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network

If this bug does not get fixed, a whole industry is affected.

This bug has to be critical!

summary: - Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network
+ Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without
+ CA_Certificate
Revision history for this message
Eduard Gotwig (gotwig) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Sry, I just want to note that removing "system-ca-certs=true" from /etc/NetworkManager/system-connections solved the problem for me!

Revision history for this message
Eduard Gotwig (gotwig) wrote :

Remove the line that I marked (line 20) , to fix it

This is an example of my NetworkManager profile.

This file is saved under /etc/NetworkManager/system-connections/

with connecting to the wireless point at my college. (www.bg.bib.de)

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

So it seems the problem is system-ca-certs=true is being added despite Eduard cancelling the request for the cert.

Changed in network-manager (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.6 KiB)

I had no possibilty of testing these days. any progress, guys?
On Apr 9, 2013 11:30 AM, "Brendan Donegan" <email address hidden>
wrote:

> So it seems the problem is system-ca-certs=true is being added despite
> Eduard cancelling the request for the cert.
>
> ** Changed in: network-manager (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: network-manager (Ubuntu)
> Status: Confirmed => Triaged
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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:
> Triaged
>
> 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/f...

Read more...

Revision history for this message
Carl Davis (carl.davis) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

I can confirm that even though I choose ignore on the CA Cert dialog, the line "system-ca-certs=true" was added to system-connections. It works find after I set that to false.

Revision history for this message
Ryan Yates (ryanyates23) wrote :

Hey, my laptop can't even find eduroam or setup-wifi to even attempt connecting since upgrading to 13.04. How can I go about fixing this?

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.6 KiB)

upgrading is not good. try to fire up a usb image and try if it it can
connect in the live mode. the problem is probably with the upgrade. but
first try to connect to a hidden network.
On Apr 17, 2013 5:45 AM, "Ryan Yates" <email address hidden> wrote:

> Hey, my laptop can't even find eduroam or setup-wifi to even attempt
> connecting since upgrading to 13.04. How can I go about fixing this?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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:
> Triaged
>
> 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/Dev...

Read more...

Revision history for this message
Eduard Gotwig (gotwig) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Ryan: Just read the log on this page...

Revision history for this message
Pedro Nunes (nunes-p89) wrote :

I am affected too.
Lets hope that on Monday its already fixed! :P

Revision history for this message
cosmin (wizardelo) wrote :

well i just tried 13.04 on a live-usb and this issue is still there:(
cannot connect to peap without CA, line "system-ca-certs=true" is stil added despite choosing no CA

Revision history for this message
Matthew Dye (mdye) wrote :

I believe this may be a GNOME problem. When I try it under Kubuntu and KDE, I can connect fine; while in GNOME, I cannot connect to my university (University of Missouri) wifi network.

Revision history for this message
Ben Hilburn (bhilburn) wrote :

Confirming that this is a really serious issue.

PEAP connection, MSCHAPv2, no certificate but with a username & password, I *cannot* connect to the network. Previous versions of Ubuntu work fine. Indeed, my credentials on another machine running 12.10 work just fine.

Changed in network-manager (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
mrtrick (patrick-hendrick) wrote :

I can confirm this issue on a Lenovo T510, PEAP, MSCHAPv2, no cert. Switching to LEAP seems to hold fine. Removing system-ca-certs=true did not stabilize my connection at all. I am able to get connected, but drops every few minutes and sometimes will not connect at all.

Revision history for this message
Fei (feisung) wrote :

Hey Guys, this problem is quite serious!! Excitement in the morning after the upgrade on home wifi then complete dissapointment after 2hrs+ attempting to patch it :(
 Tried just about all that was posted here and was unsuccessful. eduroam and other enterprise wpa networks just don't work anymore. Please supply a quick fix...

Revision history for this message
DeepJoy (deepjoy) wrote :

Confirmed "system-ca-certs=true" is stil added despite choosing no CA and choosing ignore along with do not warn me again on the popup.

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

this is the 1. ubuntu release I didn't install right after it came out.
guess why.

and by the way the workarond by Eduard Gotwig from comment #19 sadly
doesn't work here either. the line is always re-added. please explain us
better how u did it cause more people have reported here that it doesn't
work.

Revision history for this message
Tyler (tyler.h) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Workaround of removing "system-ca-certs=true" only works temporarily. Next time NetworkManager touches the profile, the line reappears in the profile.

Revision history for this message
BrunoB (bruno-bak) wrote :

How i got it working:

1. Download the AddTrust External CA Root (Base64 format) available here: http://iss.leeds.ac.uk/helpdesk/eduroam-certificates
2. Double click it and import using Gnome2 Key Storage (require sudo privileges).
3. Go to Network connections (right click con the wi-fi logo on the top right of the screen) and Add a new connection.
4. Name the new connection "eduroam"and have the SSID also "eduroam"
5. Under Wi-fi security choose "WPA 2 enterprise", Authentication: "Proteacted EAP (PEAP)", CA Certificate browse the file you downladed on step 1.
6. Username have your COMPLETE email (include @schoolname.something).
7.include your password.
Save it.
Good luck

Revision history for this message
Franko Burolo (fburolo) wrote :

Same problem here. And 13.04 really is the first Ubuntu where this doesn't work. And sure it IS critical!
If this is not fixed, Ubuntu will prove useless for most education (students/profs) and business users. And the bug is still unassigned since January?! Come on!

I just can't believe that the swirl direction of the BFB icon was a more important bug than this one... In terms that it was promptly addressed, unlike this one.

Revision history for this message
vacaloca (ltirado) wrote :

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! :)

Revision history for this message
Franko Burolo (fburolo) wrote :

The workaround works for me, too. Even without making the file read-only. I connected at my faculty's library in the early afternoon today. But I still think this is a critical issue, that could turn people away from Ubuntu.

It's very interesting what vacalola said about the old unchanged live image working once, and then not... Yet, the fact remains that this works completely fine in both 12.04 and 12.10, and just in 13.04 not.

Revision history for this message
Fei (feisung) wrote :

I give up... this has just got me switching to another Linux distro! Spent the whole week trying to rebuild my machine just cos of this issue... One year + of Ubuntu Love now to it's brother... Which I should state that wpa-enterprise works at time of writing that is!

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.7 KiB)

see? that's what I was talking about earlier.

don't u realize that u are destroying what u have been building all those 9
years?

u shouldn't have rolled out the new ubuntu with this.
On May 4, 2013 6:11 PM, "Fei" <email address hidden> wrote:

> I give up... this has just got me switching to another Linux distro!
> Spent the whole week trying to rebuild my machine just cos of this
> issue... One year + of Ubuntu Love now to it's brother... Which I should
> state that wpa-enterprise works at time of writing that is!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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 ...

Read more...

Revision history for this message
Louis Mondésir (louis-mondesir) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

I've got the same bug. Editing the conf file jsut bring me random deconnection each minutes. Please fix this, I'm using Ubuntu for my studies ;)
(ps: sorry for bad english)

Revision history for this message
Franko Burolo (fburolo) wrote :

...and still unassigned. :-/

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.4 KiB)

ubuntu's gonna be the new "OFFLINE OS" :))) that't the right way to
penetrate the mobile market, isn't it?
On May 6, 2013 1:11 AM, "Franko Burolo" <email address hidden> wrote:

> ...and still unassigned. :-/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
> ...

Read more...

Revision history for this message
ભાવિન દોશી (bkd-online) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

I had the same problem, and comment [#4][https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476/comments/4] in this thread worked for me!

Revision history for this message
Franko Burolo (fburolo) wrote :

So, we know that Network Manager should eihter remove that line or set it on false automatically, but it doesn't. We know it probably happens only in Gnome, though. See comment #29. I guess Kubuntu uses Network Manager too, but I might be wrong. No devs at all interested into investigating this, really?

Maybe they are trying to induce us to learn programming and fix it ourselves. :-D

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Hmm, I do not understand this. I'm using Eduroam with Raring and have not seen this problem. Maybe it is different since I have upgraded? I see that I have "system-ca-certs=true" setup for the connection.

Anyway, I have pointed to the certificate file: "ca-cert=/etc/ssl/certs/GTE_CyberTrust_Global_Root.pem". Why can't you do that too? The connection and password is then much safer, so that you know that the network is the right one and not a fake copy.

Revision history for this message
Franko Burolo (fburolo) wrote :

You are not seeing this problem because you ARE using CA certificate. When you don't have one Network Manager should ignore it and connect anyway, if you tell him so, which doesn't happen without manually editig a config file to force it to do so.

Now, it IS true that using a cert is safer, but my faculty doesn't even provide one. The network we use there is not Eduroam (though we have that too, for guests), but a local one. A year or so ago, I wrote them about this, they told me that it wasn't necessary, and that they don't have plans to provide it in the future. So I was thinking "Oh, well, whatever. As long as I can connect." And from the comments above, I see that my faculty is not the only one. So this is still of high importance, if not critical.

Revision history for this message
Franko Burolo (fburolo) wrote :

...because most people will just follow their faculty's/company's IT team instructions, and those don't always provide any CA certificate.

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.7 KiB)

u are absolutely right, fanko, my faculty doesn't provide a cert either and
I can confirm that people always follow the faculty's instructions. we have
a nice step by step tutorial for each OS and I also used when I set up
eduroam for the 1st time.

this bug is critical.
On May 6, 2013 5:15 PM, "Franko Burolo" <email address hidden> wrote:

> ...because most people will just follow their faculty's/company's IT
> team instructions, and those don't always provide any CA certificate.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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-...

Read more...

Revision history for this message
xyloman (xyloman) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Removing the system-ca-cert=true line also worked in my configuration. I didn't notice this being an issue post upgrade because the configuration in the NetworkManager was working. I had to update my configuration in the NetworkManager because of a password rotation and this caused the system-ca-cert=true to be added to the file even though I answered Ignore to the dialog prompt. Upon finding this bug through google I removed the line from the /etc/NetworkManager/system-connections/<essid> file and my wireless connection started to work again.

Revision history for this message
Pedro Nunes (nunes-p89) wrote :

After all removing System-cs-cert=true from the file solved the problem.

Regards :P

Revision history for this message
Franko Burolo (fburolo) wrote :

Yeh, in a regular support forum, this would be marked as [solved]... But this is a bug report, and is still unassigned, since January! :-/

Revision history for this message
Falk (andreas-mockel) wrote :

I can confirm this "problem"

When I rotated server certs on our NPS'es from the CA in the PKI env.
The networkmanager messed with the file and the connection stopped working.

On our NPS radius server

Reason Code: 265
Reason: The certificate chain was issued by an authority that is not trusted.

So it seems that even if I ignore the CA warning it sends some information of CA's to the NPS.
I haven't had the time to debug it further. But when editing the suggested line things started working again.

--
Regards Falk

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.4 KiB)

earlier the workaround with removing the ominous line didn't work for me,
so I tried to set it to false as carl davis suggested in comment #23 and
and it works. it looks like this method should work for anyone. it somehow
removes the line anyway.
Sry, I just want to note that removing "system-ca-certs=true" from
/etc/NetworkManager/system-connections solved the problem for me!

--
You received this bug notification because you are subscribed to the bug
report.
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 ...

Read more...

Revision history for this message
Franko Burolo (fburolo) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Ok, but this is just a workaround, not a fix... :-/

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I connected to eduroam using a Raring live cd without selecting a CA. Maybe the system ca setting means that it tries your system CA certificates? In that case this bug only applies to certificates used that are not in your system, e.g. self signed ones.

Revision history for this message
Franko Burolo (fburolo) wrote :

I don't follow you... We are not having problems with certain certificates, but with connecting without one. So this bug applies only to a no-certificate situation. Read up the description again, please.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

In that case I assume the option you remove tries system CAs instead and fails if a ccertificate chain to one is not found.

Revision history for this message
Franko Burolo (fburolo) wrote :

Maybe... Could you look into it and take this assignment, please? I see you have already been active in Network Manager bug fixing. :-)

Revision history for this message
Myzeus (myzeus) wrote :

I can confirm the method in comment #23 works for me at UNIVPM (Ancona - Italy) with Ubuntu 13.04 Raring 64bit.

This is what I have done:
1) Connect to Eduroam using Networrk Manager inserting name, password and ignoring the certificate request. The connection fails, but the associated network profile appears in "/etc/NetworkManager/system-connections/eduroam"
2) Turn off WI-Fi
3) Open the terminal and edit the network profile with "sudo nano /etc/NetworkManager/system-connections/eduroam"
4) Change the line "system-ca-certs=true" to "system-ca-certs=false"
5) Turn on Wi-Fi
6) Connect to Eduroam using Network-Manager as usual

Looking ad the network profile I have seen that the line "system-ca-certs=false" was removed, therefore I think that also the method in comment #19 works, but it did not for me.

Revision history for this message
maxadamo (massimilianoadamo) wrote :

Just OT.
Yes, the workaround fixes the issue.

OT: Troubles came from the day when Network Manager was invented.
It has never been reliable and - as we can see in every day experience - it has never been tested properly.
My favorite method for network configuration is the one used in Red Hat 5.

Revision history for this message
Yasar Wafeeq (yasir-wafeeq) wrote :

Hello every body. I am also victim of such problem. Due to this wifi problem i am unable to use ubuntu. I started hating ubuntu. I can not connect to eduroam. It connects and after sometime it disconnects again after few seconds. and it keep going on like connecting then disconnecting. When i restart my laptop it ask for password and usernam again and authentication is required. what is this? please help me.

Revision history for this message
alecive (alecive) wrote :

Ok now we found both the bug and the workaround. When the fix is supposed to be moved upstream?

Revision history for this message
rgrig (radugrigore) wrote :

None of the following workarounds work for me:
1. remove "system-ca-certs=true" from /etc/NetworkManager/system-connections
2. change "system-ca-certs=true" into "system-ca-certs=false"
3. add a certificate, namely /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt

What did work was to boot with kernel 3.5 instead of 3.8.

Revision history for this message
Elliot K Payen Padilla (epayen) wrote :

Dear friends... I have same problem, I did test with live cd Ubuntu 12.08 and it worked smooth, but when I return to 13.04 I got the same problem. Only we have to wait the fix for this bug.. thanks for share your experiences.

Revision history for this message
Franko Burolo (fburolo) wrote :

Yeh, but if nobody takes this assignment, will it ever be fixed?

It could be also a kernel problem, as rgrig points out. Anyone tried wicd or another distro with same kernel version?

Revision history for this message
Mervin Beng (mervinb) wrote :

I have been hitting exactly what has been described on Arch (3.9 kernel, nm-applet 0.9.8.0), and the workaround of removing the ca-cert line in the config file works (permanently) for me. On Arch the permissions on the config files are 600, and removing that line seems to permanently address the problem.

Looks very much like a problem in nm-applet, which writes an incorrect config for ca-cert when password is set to save.

Revision history for this message
Chris Taylor (chris-taylor-t) wrote :

I can concur with rgrig that under Kubuntu 13.04 booting with a 3.5 kernel rather than a 3.8 kernel solved the issue for me.

Also, as with rgrig, the other workarounds didn't work for the 3.8 kernel.

Revision history for this message
kazersozet (kazersozet) wrote :

Hello,
I've the same problem.
None of the following workarounds work for me:
1. change "system-ca-certs=true" from /etc/NetworkManager/system-connections to "system-ca-certs=false"
2. chattr +i /etc/NetworkManager/system-connections/

Ubuntu 13.04 kernel 3.8.0-23

Revision history for this message
Chris Taylor (chris-taylor-t) wrote :

I've installed some mainline kernels to check and again the problem is resolved and I can connect without problem.

The two kernels I've checked are:
3.9.0-030900-generic
3.10.0-999-generic

I've not tried wicd as I couldn't get it to install on my laptop.

Revision history for this message
schoubi (schoubi) wrote :

I'm affected too.

13.04 + eduroam (WPA2/PEAP/MSCHAPv2/self signed certificate)

The workaround, as pointed by #19 and #23 : suppress the "system-ca-cert=true" (or make it false) from the network-manager profile.

That's works.

Seems that the «Ignore» button when cert alert is displayed was just.....ignored....

Revision history for this message
Arno Teigseth (arno-teigseth) wrote :

just installed gnome3 desktop on top of linux mint 15.

Saw the error 20 and remembered I was bugged by that before. Edouards posting in #20 solves error 20 - :)

remove the certs...=true line. I DID press Ignore in the "oops no CA cert selected" box

network-manager 0.9.8.0-0ubuntu6 from linuxmint/ubuntu and ppa.launchpad.net/gnome3-team/ repos

Revision history for this message
Rebootkid (nate-moore) wrote :

Comment #72 worked better for me than just removing the file.

I created the network connection, then edited it to show false for system-ca-cert

Revision history for this message
Elliot K Payen Padilla (epayen) wrote :

Please.. somebody could post the entire configuration where appears
"certs...=true"

where "system-ca-cert" is located.
Thanks

Revision history for this message
John Chee (chee) wrote :
Revision history for this message
Marc Purdon (carc) wrote :

I find it rather strange this is still unassigned, seems to me no network access is a major issue

Revision history for this message
Rommel Bojorge (rbojorge) wrote :

the "system-ca-cert" is located at /etc/NetworkManager/system-connections/ and there you edit the file that have your wi-fi name

Revision history for this message
Franko Burolo (fburolo) wrote :

@carc: It seems like they don't care much about non-LTS releases anymore... Reporting serious bugs for them is becoming ever more useless. :-/

Revision history for this message
Leszek (pb-zalewski-leszek) wrote :

Setting 'system-ca-cert=false' works fine. If you can't connect, then you could be banned in your network. I could connect after they reset ban list, so take it under consideration.

Anyway looks like bug is just about setting system-ca-cert=false when adding network.

Cheers,
Leszek

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

Thank you very much Eduard Gotwin, more than one month I could not connect to the wifi at work.
As you said I deleted the line
system-ca-certs=true
and I could connect again at all my wpa2 enterprise WIFI network.
This bug is very critical as it touches enterprise wifi network, it should be corrected as soon as possible.

Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (3.8 KiB)

I wish there was no workaround for this big otherwise it would have been
solved long ago. But if there's a workaround, Canonical thinks there is no
need to work out the solution... obviously
On Aug 1, 2013 2:01 PM, "Le Gluon Du Net" <email address hidden> wrote:

> Thank you very much Eduard Gotwin, more than one month I could not connect
> to the wifi at work.
> As you said I deleted the line
> system-ca-certs=true
> and I could connect again at all my wpa2 enterprise WIFI network.
> This bug is very critical as it touches enterprise wifi network, it should
> be corrected as soon as possible.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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...

Read more...

Revision history for this message
Le Gluon Du Net (legluondunet) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Now we have a workaround but at each computer restart, you have to use the workaround again.
Because at each restart Network-Manager add the line "system-ca-certs=true" again...
Very annoying bug and very improductive at work.

Revision history for this message
Alexey Brodkin (alexey-brodkin) wrote :

Disagree. In my case (fresh & updated 13.04 64-bit) I don't see configuration file changes on reboot.
I may expect it to be modified if you remove your current Wi-Fi connections from known ones in NetworkManager and then will try to connect to it again - this indeed will create a new config file in "/etc/NetworkManager/system-connections/" that will have "system-ca-certs=true".

Revision history for this message
Alexey Brodkin (alexey-brodkin) wrote :

Another note from my side - even though as I mentioned above I see configuration file stays on reboot but I cannot get my password saved. So EVERY REBOOT I have to enter my Wi-Fi password manually. Which is a bit more than inconvenient especially keeping in mind that this is a LAPTOP and I toggle its power at least twice a day when traveling to the office and back.
I'm wondering if others see the same experience or there's something I didn't do properly (I do set a checkbox "remeber my password" every time I enter password).

Revision history for this message
James Donovan (jamesdonnabhain-deactivatedaccount) wrote :

I have a similar problem, all wireless networks (public and home) work on my current version of Ubuntu (13.04).

I've just started university and the people at IT refused to look at my linux dist and set me up in Windows7 instead. They claimed enterprise (WPA/WPA2) wasn't for Linux!! They made a weak attempt to set up in my Ubuntu OS (13.04).

When I try to set up my network from Network and wireless settings the connect button is greyed out and there are no security settings from the drop down menu so the workaround here isn't even applicable yet. In any case this will deter many a new Ubuntu user from such wireless networks.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This needs some work to be fixed -- there's an upstream bug, but it seems like the actual behavior might be slightly different. Perhaps when no cert is selected and the ignore button is pressed the settings should just be set to =false.

Changed in network-manager (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Franko Burolo (fburolo) wrote :

Finally assigned! :-)
I hope this will be solved soon, now.

@alexey-brodkin: I experienced the same, but only on WPA2 Enterprise networks. Every time I had to reenter the password when connecting to my faculty's network. WPA Personal and WEP were working fine. Not sure about it, but you could be right, the password bug could be coming from the same source as the bug reported here...

Revision history for this message
DieterVDW (dietervdw) wrote :

Wow, 7 months to get a bug that breaks wifi for many corporate/enterprise users assigned... :s
Try explaining that to management ...

Revision history for this message
S.O.E. Ansems (only-for-launchpad) wrote :

For some reason this bug has worsened. Previously i could work around the issue by deleting the line that says 'system-ca-certs=true' but this stopped working because it would erase the password i've set for the user.

I'm now completely unable to connect to my corprate network, please fix this soon!

tags: added: saucy
Revision history for this message
Michael Heimann (michael-heimann) wrote :

This has hit me, too.

Removing "system-ca-certs=true" manually from /etc/NetworkManager/system-connections worked like a charm.

Stupid regression. This invalidates ubuntu in a corporate environment. Fix this please.

Cheers,
Michael

Changed in network-manager:
importance: Unknown → High
status: Unknown → New
tags: added: regression-release
Revision history for this message
Wayt (max-o) wrote :

I confirm, I can't connect to my school network, and so, i can't use ubuntu to code.

Revision history for this message
Pete (lance321) wrote :

I confirmed this is an issue for me as well. Worked fine in Ubuntu 12, Ubuntu 13 fails to connect to any WPA security.

This line does NOT exist for me in /etc/NetworkManager/system-connections/<SSID>

"system-ca-certs=true"

Adding the line with "false" also does NOT resolve this issue for me.

"system-ca-certs=false"

So far I can only connect to networks which are not using WPA personal/enterprise.

Please fix this bug.

sivamoke (sivamoke-bif)
Changed in network-manager (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
Changed in network-manager (Ubuntu):
assignee: nobody → Network-manager (network-manager)
Revision history for this message
Matthew Geier (matthew-sleeper) wrote :

I just want to add for those trying 'random' certificates - if your school can't/won't supply you the proper certificate there is little point trying random other certificates - they WON'T WORK.
 That's the whole point of certificates in the first place, to verify the authenticity of the session. If it worked with random other certificates, there wouldn't be a whole lot of point would there.

Removing the system-ca-certs line and restarting network-manager worked for me, pending finding out how to get my schools certificate.

Revision history for this message
Ronak P (rkpatel7) wrote :

There was an update for Network Manager a few days ago. It looked like that resolved the issue for me, however unfortunately I was mistaken.

My situation:

Running Xubuntu 12.04.3 LTS
[user] = my username
Trying to connect to university wifi with the same authentication - WPA2/PEAP/MSCHAPv2
I have the certificate file provided by the university located at ~/[user]/.cacerts.pem
I have it currently set to hidden. I don't believe that is the problem since I was affected by the issue when it was not hidden as well.
I added system-ca-certs=false line to the connection file in /etc/NetworkManager/system-connections
I also made sure the connection file has the line 'ca-cert=/home/[user]/.cacerts.pem'

1. Do you think changing that line to 'ca-cert=~/[user].cacerts.pem'? Would that do anything?
2. Also, I just realized I haven't checked whether setting it to un-hidden would change anything after the recent Network Manager update. I might try that at some point.

Next time it occurs, I'll try to pull up the log file. Need to figure out how to do that first.

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

Hello,

on Ubuntu raring 13.04, I installed this unstrusted Networkmanager PPA:

https://launchpad.net/~mathieu-tl/+archive/nm

then I edit all your Wifi connection in /etc/NetworkManager/system-connections/ and replace "system-ca-certs=true" by "system-ca-certs=false" and all my WPA2 enterprise work again.

The bug is still present on saucy (system-ca-certs=true by default, even if you choose not.
I filed a bug on bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=707921

jjungo (j-jungo)
description: updated
Revision history for this message
Pedro Nunes (nunes-p89) wrote :

True story.
I had this problem, existed in ubuntu 13.04.
And now exists too in ubuntu 13.10, what a hell are this guys doing?

The good thing is.. the workaround is the same.
Changing the system-ca-certs=true to system-ca-certs=false or erasing the line solve the problem...

Use the terminal to acess the etc/NetworkManager/system-connections.
Perform a "Sudo nano eduroam" and edit the file, save with ctrl + O and voilá.

Hope this help for most of the people
Regards

Revision history for this message
jjungo (j-jungo) wrote :

Hi,

I had also this problem in Ubuntu 13.04 with NetworkManager version 0.9.8.0.
I can confirm that changing the line "system-ca-certs=true" by "system-ca-certs=false" inside my wifi config's file (/etc/NetworkManager/system-connections/) work for me!

tags: added: rls-s-incoming
Revision history for this message
Rick Fowler (ricklfowler) wrote :

I have the same issue, and is fixed the same way. However it always asks me for my wpa enterprise password at the login screen before I start my session. If I just ignore it and login it connects to the ap.

Revision history for this message
Jon-Paul Raymond (digitalattorney) wrote :

I have a notebook running Xubuntu 13.10. Same problem. I didn't have a "system-ca-certs=false" entry in my config file, but after go through everything I could think of as well, what I did do was change my wireless security from WPA2 Mixed (TKIP / AES) to straight WPA2 AES. I can now connect.

Revision history for this message
Vytautas Jakutis (vytautas) wrote :

Eduroam also just stopped working for me. I heard local admins "reconfigured wifi network", and now when I connect, I get "self-signed certificate" errors.

To solve this, I had to replace the old local certificate (LITNET_CA.crt for me) to the AddTrustExternalCARoot.crt.

And I'm not even on Ubuntu. I use ArchLinux.

Revision history for this message
Eduardo Aquiles Radanovitsck (eduardoaquiles-ar) wrote :

Same thing happened to me. I had to manually edit the file and remove the line "system-ca-certs=true"

Changed in network-manager (Ubuntu):
assignee: Network-manager (network-manager) → Mathieu Trudel-Lapierre (mathieu-tl)
tags: removed: rls-s-incoming
Andy Whitcroft (apw)
Changed in ubuntu-release-notes:
status: New → In Progress
assignee: nobody → Andy Whitcroft (apw)
description: updated
Andy Whitcroft (apw)
Changed in ubuntu-release-notes:
status: In Progress → Fix Released
Revision history for this message
Pritam Baral (pritambaral) wrote :

One sane solution would be to let the user choose whether to use the system CA certs or not. KDE's network manager applet already does this.

I have a patch ready that adds this functionality. For package network-manager-applet. Tested working on ArchLinux, but there are no changes in Ubuntu's 9.8.0 and Arch's 9.8.4 among the parts of code that this patch touches.

My university is in the process of testing out 802.1x for wired networks, but this bug is a major bottleneck right now as many people here use Ubuntu 13.04.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Lets user choose whether to use system CA certs or not." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Boris Hollas (borish) wrote :

My WPA2/PEAP network doesn't work anymore with NetworkManager0.9.8.0-0ubuntu6 on 13.04 . Last week, it still worked and I haven't changed any network settings. I've done an update, though.

If I remove the connection and add it again, Network-Manager adds
system-ca-certs=true
to the configuration file, which is wrong.

Before, it worked after I removed

system-ca-certs=true and
auth-alg=open

but now this doesn't help anymore.

Revision history for this message
Henri Souchay (imagez) wrote :

Same thing, happened when "upgrading" to 13.04 after using 12.10 flawlessly. Corporate network.

The system-ca-certs=false trick does not work. NetworkManager keeps updating the file in /etc/NetworkManager/system-connections/, even though I set R-only access -- it will change it back to RW access.

Colleagues can connect to wifi with their Android phones, I cannot with Ubuntu: it just looks incompetent... Arrrgh, i'll have to move back to Windows...

Revision history for this message
Boris Hollas (borish) wrote :

This is what the log shows.

Revision history for this message
Pritam Baral (pritambaral) wrote :

PPA announce!
https://launchpad.net/~pritambaral/+archive/nms

Considering the time it has taken, and may take, for the devs to review/accept the patch and/or release a fix, I have been driven to release a personal package archive. This was inevitable for me persoannly, since my Uni is about to launch a campus wide EAPOL and

It builds on the standard Ubuntu raring package. Saucy will be added in a few hours.

@All affected users: feel free to use it

@32-bit users: build will finish in a few minutes.

Revision history for this message
Henri Souchay (imagez) wrote :

Chhatoi, thanks for sharing.
First thing this morning I did install your update, which clearly shows the check box "system CA certificates"; unfortunately it still failed authentication:

NetworkManager[6785]: <info> (eth3): supplicant interface state: associating -> associated
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=Trusted Secure Certificate Authority/CN=Trusted Secure Certificate Authority'
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=Trusted Secure Certificate Authority/CN=Trusted Secure Certificate Authority'
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='(... skipping info that seems proper to my business...)'
wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-FAILURE EAP authentication failed

Hope others have more luck, maybe I'm just dealing with the wrong issue.

Revision history for this message
Pritam Baral (pritambaral) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate
Download full text (5.0 KiB)

Henri, you are indeed facing a different issue. Most likely incorrect
credentials.

When system-ca-certs is on, wpa_supplicant complains of a self-signed
certificate and stops right there. With a proper corresponding mesage of
course. And this one definitely isn't that.

I have seen this whenever I put in the wrong credentials.

Regards,
Chhatoi Pritam Baral
On Oct 24, 2013 2:21 AM, "Henri Souchay" <email address hidden> wrote:

> Chhatoi, thanks for sharing.
> First thing this morning I did install your update, which clearly shows
> the check box "system CA certificates"; unfortunately it still failed
> authentication:
>
> NetworkManager[6785]: <info> (eth3): supplicant interface state:
> associating -> associated
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0
> method=25
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25
> (PEAP) selected
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=1
> subject='/C=US/O=Trusted Secure Certificate Authority/CN=Trusted Secure
> Certificate Authority'
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=1
> subject='/C=US/O=Trusted Secure Certificate Authority/CN=Trusted Secure
> Certificate Authority'
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='(...
> skipping info that seems proper to my business...)'
> wpa_supplicant[919]: eth3: CTRL-EVENT-EAP-FAILURE EAP authentication failed
>
> Hope others have more luck, maybe I'm just dealing with the wrong issue.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1104476
>
> Title:
> Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without
> CA_Certificate
>
> Status in NetworkManager:
> New
> Status in Release Notes for Ubuntu:
> Fix Released
> Status in “network-manager” package in Ubuntu:
> Triaged
>
> Bug description:
> === Release Notes Text ===
>
> When connecting to MPA2/PEAP/MSCHAPv2 wifi networks which do not have
> a CA Certificate network manager may incorrectly mark the CA
> certificate as needing verification and fail that verification. See
> the bug for workarounds.
>
> ===
>
> 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
> ...

Read more...

Revision history for this message
Austin DeWolfe (austindewolfe) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

@Chhatoi Pritam Baral
Thanks for building a fix for this issue, I know I appreciate it. I do have a question though. I can't seem to get the package through apt-get. I put the ppa into my repositories, but when I do sudo apt-get install network-manager-applet it can't find it (am I using the wrong package name?) I feel so close to finally being able to getting wifi working that it really sucks not to be able to get the package.

Revision history for this message
Harry (harryscells) wrote :

@Austin DeWolfe
Try using:

sudo apt-get update
sudo apt-get upgrade

should update the packages affected

Revision history for this message
Pritam Baral (pritambaral) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

>
> sudo apt-get update
> sudo apt-get upgrade
>
> should update the packages affected

Yup, that should do it!
But for people looking to upgrade this single package only, and not their
whole system, or others like Austin, the package name is:

network-manager-gnome

Odd. I know. Caught me off-guard when I first set out too.

justin (justi8)
Changed in network-manager (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → justin (justi8)
Changed in network-manager (Ubuntu):
assignee: justin (justi8) → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in network-manager:
status: New → Confirmed
Revision history for this message
Ben Lutgens (blutgens-gmail) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

This problem still persists to this day. Setting system-ca-certs=false does not work, you have to comment it out or remove it. There needs to be an option in network manager UI to allow users to disable the requirement on system-ca-cert and it should be included in the dialogue that prompts you for a ca along with the "Don't remind me again" or "ignore this" (e.g. setting it to ignore should unset or remove that line from the connection configuration.

Revision history for this message
Pritam Baral (pritambaral) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

@Ben: You can use the PPA I posted which does exactly that. An option in
the UI that is disabled by default.

@Ubuntu devs: Upstream is debating turning system-ca-certs off completely.
Basically, reverting the commit which started this debacle without any
regard to end-user usability. There are some very good discussions,
including from people deploying 802.1X in the field, on why system-ca-certs
is completely useless.

Changed in network-manager:
status: Confirmed → Fix Released
Revision history for this message
osmeest (osmeest) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Added the PPA specified by @pritambaral in saucy.
When running apt-get update, it complains that it doesn't find
https://launchpad.net/~pritambaral/+archive/nms/dists/saucy/main/binary-amd64/Packages

Any chance to get the gnome network manager update for 64b Saucy from there ?
Or from somewhere else ?

Thanks.

Revision history for this message
osmeest (osmeest) wrote :

Forget my last comment, if you use the ppa: link, it works much better:
ppa:pritambaral/nms

Thanks again for providing this much wanted patch.

Revision history for this message
Ingo Keck (ingokeck) wrote :

This is actually a big problem for two reasons:

(1) The user does not get the correct feedback to the problem: Instead of a notice that the certificate not trusted, he/she is just asked again and again and again for the correct username and password.
(2) Encouraging people to trust in central certificates and not in self signed ones plays in the hands of NSA and everyone how depends on man-in-the-middle attacs. People should be encouraged to trust only in certificates they know are correct and be allowed to do so, instead of forcing them to only accept 'officially' signed certificates .

(still existing in ubuntu 13.10. , btw)

Revision history for this message
Neil Broadley (scaine) wrote :

Is there something broken in Ubuntu's update process that a PPA had to be created (many thanks for that Pritam!) for this? I've just tried a fresh 13.10, it still has this problem, despite "Fix released". So what does "Fix released" mean? Released for the next version of Ubuntu? Would I have gotten the fix if I'd turned on "Proposed"?

So yeah - thanks again for the PPA. At least that works.

Revision history for this message
Pritam Baral (pritambaral) wrote : Re: [Bug 1104476] Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

@Neil: Note that this bug is actually three bugs. More precisely, this is
tracking the status of the same bug in three different projects. And the
top one is gnome (upstream.) The most recent "Fix released" refers to
gnome. It takes a while for upstream changes to be reflected in a stable
distro (Ubuntu), especially if it has to be backported (since upstream is
usually a little ahead of stable).

Note that one of the projects is just "Release Notes".

I created the PPA because I realized Ubuntu did/would not consider this bug
to be important enough to warrant a feature-change in two stable releases.
I do not think that's wrong on their part, although I'm confident they'd
see the fix harmless (from a stability POV) if they notice it.

I think uploading packages to -proposed is only for Ubuntu maintainers.
Here's some more on that matter:
http://askubuntu.com/questions/49691/what-is-the-proposed-repository

Revision history for this message
C Filorux (breakfast) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Confirmed still unfixed on 13.10 ... WPA+EAP or Linux: pick one.

Revision history for this message
Ingo Keck (ingokeck) wrote :

just coming in: Google found french office spying with CA signed intermediate certificate: https://code.google.com/p/chromium/issues/detail?id=326787 and http://www.heise.de/newsticker/meldung/Google-erwischt-franzoesische-Behoerde-beim-Schnueffeln-2062479.html

So please stop requesting CA signed certificates!

Revision history for this message
Alex Nekrasov (ennnot) wrote :
Download full text (3.5 KiB)

I'm having the same problem.

I do NOT have system-ca-certs in the NetworkManager connection file. I turned off power saving and ipv6. Still get

Dec 19 23:57:06 desktop kernel: [ 110.811108] wlan0: send auth to 00:19:cb:58:f6:b9 (try 1/3)
Dec 19 23:57:06 desktop kernel: [ 110.813360] wlan0: authenticated
Dec 19 23:57:06 desktop kernel: [ 110.813531] rt2800usb 2-1.5:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
Dec 19 23:57:06 desktop kernel: [ 110.813536] rt2800usb 2-1.5:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
Dec 19 23:57:06 desktop kernel: [ 110.813718] wlan0: associate with 00:19:cb:58:f6:b9 (try 1/3)
Dec 19 23:57:06 desktop NetworkManager[935]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec 19 23:57:06 desktop kernel: [ 110.829841] wlan0: RX AssocResp from 00:19:cb:58:f6:b9 (capab=0x411 status=0 aid=3)
Dec 19 23:57:06 desktop wpa_supplicant[1348]: wlan0: Associated with 00:19:cb:58:f6:b9
Dec 19 23:57:06 desktop kernel: [ 110.836913] wlan0: associated
Dec 19 23:57:06 desktop kernel: [ 110.836925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Dec 19 23:57:06 desktop NetworkManager[935]: <info> (wlan0): supplicant interface state: associating -> associated
Dec 19 23:57:07 desktop avahi-daemon[944]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::f27d:68ff:fe15:5756.
Dec 19 23:57:07 desktop avahi-daemon[944]: New relevant interface wlan0.IPv6 for mDNS.
Dec 19 23:57:07 desktop avahi-daemon[944]: Registering new address record for fe80::f27d:68ff:fe15:5756 on wlan0.*.
Dec 19 23:57:11 desktop wpa_supplicant[1348]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:19:cb:58:f6:b9 reason=4
Dec 19 23:57:11 desktop kernel: [ 115.755373] cfg80211: Calling CRDA to update world regulatory domain
Dec 19 23:57:11 desktop kernel: [ 115.758863] cfg80211: World regulatory domain updated:
Dec 19 23:57:11 desktop kernel: [ 115.758867] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec 19 23:57:11 desktop kernel: [ 115.758869] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Dec 19 23:57:11 desktop kernel: [ 115.758872] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Dec 19 23:57:11 desktop kernel: [ 115.758874] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Dec 19 23:57:11 desktop kernel: [ 115.758876] cfg80211: (5170000 KHz - 52500...

Read more...

Revision history for this message
Peter L (randomuser72) wrote :

confirmed on 13.10. cannot connect to school eduroam network without certificate. really annoying!

Revision history for this message
In , Mateakos (mateakos) wrote :

When setting up a wireless connection with PEAP and MSCHAPv2, but without CA cert, nm-applet puts system-ca-certs=true to it's config file, regardless that I choose no CA certificate, and click on Ignore. It worked correctly a half year ago.
This ubuntu bug seems the same: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476

Changed in gentoo:
importance: Unknown → High
status: Unknown → New
Changed in gentoo:
importance: High → Medium
Revision history for this message
In , Pacho-gentoo (pacho-gentoo) wrote :

+*nm-applet-0.9.8.8-r1 (10 Jan 2014)
+
+ 10 Jan 2014; Pacho Ramos <email address hidden>
+ +files/nm-applet-0.9.8.8-revert-ca-certificates.patch,
+ +nm-applet-0.9.8.8-r1.ebuild,
+ -files/nm-applet-0.9.6.4-systray-icon-size.patch,
+ -files/nm-applet-0.9.8.4-autostart.patch, -nm-applet-0.9.6.4-r1.ebuild,
+ -nm-applet-0.9.8.2.ebuild, -nm-applet-0.9.8.4.ebuild:
+ Revert 'libnm-gtk: default to system CA certificates for validation for new
+ connections', bug #497296 by mateakos. Drop old.
+

Revision history for this message
In , Chris Taylor (chris-taylor-t) wrote :

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

When connecting to WPA2/PEAP/MSCHAPv2 wifi networks which do not have a CA Certificate Network Manager may incorrectly mark the CA certificate as needing verification and fail that verification.

Reproducible: Always

Steps to Reproduce:
1. Attempt to connect to WPA2/PEAP/MSCHAPv2 wifi network which does not have a CA Certificate.
Actual Results:
The line system-ca-certs=true is erroneously added to the relevant Network Manager config file and connection fails.

Expected Results:
Connection to network should occur despite the lack of a CA Certificate (as many educational/business enterprise networks don't provide them).

See also https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476

Revision history for this message
In , Chris Taylor (chris-taylor-t) wrote :
Changed in network-manager (openSUSE):
importance: Unknown → High
status: Unknown → Confirmed
Changed in gentoo:
status: New → Fix Released
Revision history for this message
Yongjin Cho (yongjin.cho) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Is this bug really fixed?
I'm using Ubuntu 13.10 and I still cannot connect to my company network which is WPA2 enterprise PEAP without CA certificate.

Revision history for this message
Dmitry Maruschenko (yojick) wrote :

It has been fixed almost anywhere except ubuntu. For ubuntu it's triaged =(

Revision history for this message
Blaster (holst-niels) wrote :

@Dmitry Maruschenko (yojick) #130

Yes, it's pretty irritating. It's not really a bug in network manager though, it's "just" a glitch in the GUI.

Here's how to make it work:

1) Select a totally random certificate from /usr/share/ca-certificates/mozilla
2) Try to connect . you'll not succeed, but don't worry.
3) This WILL create a connection file in /etc/NetworkManager/system-connections
4) The name of the connection file (a text file) will be the name of the desired wifi network SSID
5) You need to edit that file as root. Do this in a terminal (ctrl-alt-t): gksu nautilus /etc/NetworkManager/system-connections
6) Select the file (the name of the SSID) you just created
7) In this file there will be two lines you need to remove. One will state the requirement of a certificate the other will point to the bogus-certificate you used in step 1). Remove both lines.
8) Be sure that the line "identity=" contains BOTH your domain and username, as in identity=DOMAIN\USER (replace DOMAIN and USE with your actual domain name and user-logon)

Congrats, if you did the above correct you're now connected.

I totally agree that it's a joke that this isn't fixed yet. The "fix" posted by Pritam Baral (pritambaral) in #108 does NOT work anymore. It did however work when he posted it, but for 32 bit users it somehow created a connection file with "identity=DOMAIN\\USER" Notice the extra "\". Follow the steps from 5) to fix this. This is not criticism of Pritam Baral. He did a valid effort to try to fix it, but it's hilarious that this GUI-glitch wasn't fixed a long time ago.

Revision history for this message
Jan Hauke Maase (h-maase+dev-deactivatedaccount) wrote :

Thank you, Blaster!

I was able to connect to my university WIFI. But after a bit of a use I experience some kind of disconnect. My wifi keeps connected, but I'm not able ping anything or connect to the internet / local LAN. Only a reconnect to the wifi fixes this, but not for long. Tested on:
.Ubuntu 13.10
.Ubuntu 12.04.3 LTS
.openSUSE 13.1

On both HP and Lenovo Notebooks.

Have anybody had the same problem?

Revision history for this message
Blaster (holst-niels) wrote :

@Jan Hauke Maase (h-maase+dev)

I'm glad it worked for you (I knew it would). The ridiculous thing about this is that probably 50% of the users and developers following this knows exactly how to fix it, but no suggested fix is accepted.

If you was able to connect, you're no longer affected by this bug. My guess is that what you're now experiencing is a WIFI-driver bug, and my best guess is that your WIFI card is a Broadcom. You could try the following (NOTE: this is NOT related to this bug)

1) enable the proprietary Broadcom driver
2) (lol-option) disable 1) and opt for kernel support might work
3) Upgrade kernel. You might want to try kernel 3.13. That fixed it for me.

Try this at YOUR OWN RISK:

cd /tmp
wget http://goo.gl/x4JYAz -O kernel-3.13
chmod +x kernel-3.13
sudo sh kernel-3.13
sudo reboot

The above is NOT related to the bug described in this thread, and I will not provide further advise here!

Revision history for this message
Pritam Baral (pritambaral) wrote :

@Blaster (holst-neils) #131

My patch has nothing to do with DOMAIN logins. In fact, it has nothing to do with anything other that precisely "sys-ca-cert".
It is, however, outdated (I don't use Ubuntu myself). I haven't updated it since I posted it, and it is possible that a newer edition of NM itself might have caused the DOMAIN issue you speak of.

Also, it IS a bug in NetworkManager itself. sys-ca-certs should never even exist. That is not how 802.1x is done. It is not a replica of the https model. Refer: https://bugzilla.gnome.org/show_bug.cgi?id=702608#c17

My patch doesn't touch NM simply because NM is larger than nm-applet. I only added the gui option of sys-ca-certs because it was easier.

Revision history for this message
Blaster (holst-niels) wrote :

Pritam Baral (pritambaral) #134

You're right, but somehow, down the line, I thought your fix produced the double " \", but it's most certainly not your fault. Just checked, and it's definitely a bug introduced by a Network Manager "update" and not by your fix. Sorry.

You're probably the only person in this unnecessary thread, that I respect for actually trying to fix the problem. Actually, you DID fix the problem for a while.

For now, the only work-around is #131

Peace, man.

Revision history for this message
bfrancom@gmail.com (bfrancom) wrote :

I've had this problem for a long time on Debian Wheezy up to the past several releases of Ubuntu. Even running mainline kernels don't seem to fix. Currently on Ubuntu 13.10 3.14.0-031400rc1-generic
Today, I finally got some stability by adding/modifying the line to: system-ca-certs=false AND then changing the rights to read only on the connection.
 chmod -w <ssid>
Not sure how long this will work, but it's survived several suspends/connects/disconnects much better than before.

Revision history for this message
John Small (jds340) wrote :

Still not fixed. I can connect to my company WPA2/PEAP/MSCHAPv2 network which is configured without CA_Certificate.

I can get a connection from my Ipad, Mac, Android phone, Kindle (and Google Glass but that's some else's). But I cannot connect from Ubuntu 13.10 with all the latest patches.

When is this ever going to be recognized as something that needs fixing?

12.x was Ok, 13.x has been broken since release. There seems to be a coder in charge of this that thinks not having a certificate means you shouldn't be allowed to connect. But lots of companies set things up to not use a certificate.

Please fix it.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Have you tried the following workaround? Assume the ssid of you network is called "mynetwork":

sudo gedit /etc/NetworkManager/system-connections/mynetwork

eliminate a line that says:
system-ca-certs=true

Substitute "mynetwork" by the name of your wifi network.

Revision history for this message
Albert Pool (albertpool) wrote :

In upstream Gnome the bug has been fixed with commit: https://git.gnome.org/browse/network-manager-applet/commit/?id=c798c40c5dce3bc6d9b615621cefe59660b5a504

The Gnome bug report also includes some comments by Stefan Winter from Eduroam (the wifi network of many universities including mine), describing why this needs to be changed. Ubuntu developers please take a look at this comment by him: https://bugzilla.gnome.org/show_bug.cgi?id=702608#c17

Revision history for this message
spaceriker (spaceriker) wrote :

This is still broken in:
---
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
---

Note that this is a 64bit version, so I'm guessing that the 64bit version of network-manager did not get this fix?

Revision history for this message
spaceriker (spaceriker) wrote :

FWIW, turning system-ca-certs=false fixed it.

Revision history for this message
Kai Blin (kai.blin) wrote :

Still broken in 14.04, workaround works fine.

Revision history for this message
Albert Pool (albertpool) wrote :

Indeed, the upstream fix did not reach debian/ubuntu yet. Even Sid does not have it yet, so I guess we'll need to be patient, until 14.10 or something like that.
I did, however, bring this to the attention of the Linux Mint developers. Should Mint provide a fixed network-manager-gnome package, it could be made available for download for Ubuntu users too.

Revision history for this message
Esteban Richmond-Salazar (ersiq) wrote :

SOLVED

sudo gedit /etc/NetworkManager/system-connections/#WIFI-NETWORK#

Substitue #WIFI-NETWORK# with your config file name

Comment (add an # before) or erase the following line:
system-ca-certs=true

Save the file and it just work. If you made any changes using network manager you must repeat this procedure.

Revision history for this message
frank (dallco) wrote :

@ Esteban this problem is not solved! Posting a workaround does not solve the bug.

The line system-ca-certs=true is stil added to /etc/NetworkManager/system-connections/#WIFI-NETWORK# despite the fact I choose ignore certificate in the dialog. (daily live 5-4-2014)

Revision history for this message
Matthew Geier (matthew-sleeper) wrote :

This seems to be even worse in 14.04 as removing or changing the system-ca-certs= line no longer works.

I can make the office WPA2 connection work as I have access to the root certificate for it's key, but my Uni's Eduroam is now completely unusable as removing the system-ca-certs line no longer works and the institution will not give me the root certificate for the self signed key.

("We only support Mac/Windows via the supplied installers" was the response I got).

I took apart the Mac installer hoping to get the certificate, but as far as I can figure, what they supply for the mac is a script that turns off certificate checking in OSX :-)

It's all very well saying connecting with out verifying the certificate is insecure and shouldn't be allowed, but that just isn't a realistic approach.
 I ether have to connect with out certificate checking, or I can't use the service at all.

Revision history for this message
vitaly.v.ch (vitaly-v-ch) wrote :

No of WA work in 14.04

Revision history for this message
Peter Matulis (petermatulis) wrote :

== Poll ==

Why are people here not ensuring a secure connection by setting up certificates? That's the way TLS works.

Revision history for this message
rgrig (radugrigore) wrote :

@Peter Matulis: Are you serious? You may as well be asking "Why are people here not ensuring that the laws of Uganda are more sensible?" Uhm ... isn't it clear from above that a *huge* number of people don't have a choice? At least not a quick choice. Yes, eventually it will get done, but it's a slow battle.

Revision history for this message
Albert Pool (albertpool) wrote :

@ Peter Matulis

Comment #17 at https://bugzilla.gnome.org/show_bug.cgi?id=702608#c17 clearly describes why it makes no sense to require choosing a certificate for WPA2 Enterprise wireless.

Revision history for this message
Matthew Geier (matthew-sleeper) wrote :

In my case I either have to use the connection with out the proper certificate or NOT USE IT AT ALL. The powers that set up our Eduroam refuse to distribute the certificate required. 'We support Windows and Mac only'.

The Windows installer uses some package that installs a new EAP module into Windows, and the OSX one appears to be a simple script that turns off certificate verification for the Eduroam SSID.

Yes, not using the certificate leaves me open to a man-in-the-middle attack, but institutional policy doesn't leave me any choice here.

Revision history for this message
Victor Borovik (burkans5000) wrote :

I had the same issue on Ubuntu 14.04 and none of proposed workarounds helped.

The way I was able to solve it was by manually restarting NetworkManager:
1) open terminal
2) type in: sudo stop network-manager
3) type in: sudo NetworkManager
And that is it! Afterwards I was able to normally connect to WiFi even after restarting Ubuntu. Hope it helps and good luck!

P.S. If restarting didnt help, before that I was also unsuccessfully trying to kill NetworkManager by its PID (it relaunches automatically), maybe it had some impact. I cant really reproduce the bug because it disappeared after restarting NetworkManager.

Revision history for this message
Sera (seraphim6x7) wrote :

@Victor Borovik

Did you do that in addition to the proposed workarounds? What you're proposing is no more than what happens on every restart.

For reference, the removal of the 'system-ca-certs=true' line followed by restarting the network manager (didn't try without a restart) worked fine for me.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

In my case the workaround in comment #138 still works with Ubuntu 14.04.

Revision history for this message
Victor Borovik (burkans5000) wrote :

@Sera

I tried all of proposed workarounds with and without Ubuntu restart with no effect.
After restarting NetworkManager manually ('system-ca-certs=true' line was present) it started working properly, so not only my not working connection came to live, but bug dissapeared. I am now able to delete connection and create it anew and it works straight away even after restarting Ubuntu.

Revision history for this message
Aang (aang-aero) wrote :

I can also confirm that workaround in comment #138 works as well. I'm also on Ubuntu 14.04.

However, I am now prompted at login (of the OS) for the WiFi password on the PEAP network, but hitting cancel, then logging in seems to work fine. All other networks don't bother me with a pop-up at login.

Will this CA Certificate bug in Network Manager be fixed in 14.04, or is 14.10 the expection?

Revision history for this message
Tronde (tronde) wrote :

Hello.

I can confirm this Bug for Ubuntu GNOME 14.04 (Trusty) with network-manager 0.9.8.8-0ubuntu7.

Revision history for this message
enrico (enricofranceschi) wrote :

Sorry I posted an incorrect link
this is, my workaraound for lubuntu 14.04 32bit on Acer Aspire One d150, others have not worked:

download: network-manager-gnome_0.9.4.1-0ubuntu2_i386.deb (network manager Lubuntu 12:04) from https://launchpad.net/ubuntu/precise/i386/network-manager-gnome/0.9.4.1-0ubuntu2
for safety dowload also Lubuntu-desktop_0.55_i386.deb (desktop settings Lubuntu 14:04) from https://launchpad.net/ubuntu/trusty/i386/lubuntu-desktop/0.55

sudo stop network-manager

sudo killall nm-applet

sudo apt-get remove network-manager-gnome
(also removes Lubuntu-desktop)

from dowload directory:

sudo dpkg -i network-manager-gnome_0.9.4.1-0ubuntu2_i386.deb
sudo dpkg -i Lubuntu-desktop_0.55_i386.deb

returns errors

sudo start network-manager

alt + f2 nm-applet

configure: right click on the network icon in systray
connect to WIFI, ignoring the certificate request

sudo apt-get-f install
(fixes the dependencies are not met due to the installation of the network manager 12:04 on 14:04)

sudo apt-get update && sudo apt-get upgrade

everything should be ok even after rebooting

Revision history for this message
BC (bc2000) wrote :

I manage WiFi services for a University, including Eduroam. I just want to point out that this "issue" is not isolated self-signed certificate, but any certificate not signed directly by any of the 'pre-trusted' root/intermediate CAs. I wasn't actually aware that you are even 'allowed' to participate with Eduroam with a self-signed certificate?!?

I assume setting system-ca-certs to false the tells NetworkManager not to try and validate the certificate?? If that is the case, this would seem to be expected behaviour, rather than a bug, and may introduce a security risk (someone can potentially set up a bogus SSID with 'your' SSID name, using any certificate and then grab your credentials)

If you are joining a WiFi network with a self-signed certificate, you should be able to add the certificate itself to your trusted certificates. For networks with third-party signed certificates (Thawte, VeriSign etc) you should add the CA certificates (root, intermediate etc) to your list of trusted CAs.

Revision history for this message
Boris Hollas (borish) wrote :

I confirm this bug on Ubuntu 14.04 with recent updates. The workarounds in #152, #153 don't work for me.

Also, removing the line "system-ca-certs=true" has no effect.

Revision history for this message
Albert Pool (albertpool) wrote :

The system-ca-certs problem has been fixed in Linux Mint 17.

What may remain, though, is that the right authentication type such as TTLS or PEAP is not selected automatically. For me PEAP had to be chosen to connect to Eduroam; your institution should be able to tell which of these types you need (since for example Android also asks for this). But that is unrelated to this bug, if you know which type to use you can select it yourself in the network settings.

Revision history for this message
Boris Hollas (borish) wrote :

I doubt that https://git.gnome.org/browse/network-manager-applet/commit/?id=c798c40c5dce3bc6d9b615621cefe59660b5a504 fixes this bug. As I wrote in #161, removing the line "system-ca-certs=true"
has no effect. This all the patch does if no certificate is chosen.

I did choose the right authentication type (PEAP).

Revision history for this message
Neil Broadley (scaine) wrote :

Note the comment in #144 - while removing the system-ca-certs=true line might work, any changes you make to the network connection in Network Manager thereafter will re-add the line!

So the current workflow for connecting to a PEAP WIFI network is currently:
1. Make the connection. It will fail, but it will create an entry in /etc/NetworkManager/system-connections.
2. Edit that connection as root, remove the system-ca-certs=true line.
3. Never make any changes to that connection again.

One more small note - changing the line to read system-ca-certs=false causes the line to disappear when you save the file. I have no idea what is changing the file on write, but you can basically write the change and immediately cat the file, but instead of a line that says system-ca-certs=false, the line has vanished completely. Perhaps NetworkManager tracks the connection files in realtime, or some upstart job is submitting the changes? I don't know. I just found it interesting that the correct behaviour is actually the default behaviour and that this version causing this bug is actively changing that default behaviour.

Revision history for this message
Albert Pool (albertpool) wrote :

Linux Mint has implemented the upstream fix for system-ca-certs in their repository packages which can be found at http://packages.linuxmint.com/pool/upstream/n/network-manager-applet/

You can install these DEBs on Ubuntu 14.04 too (since Linux Mint 17 is based on Ubuntu 14.04), then remove the connection and add it again; system-ca-certs will not appear then if you click ignore when you're asked to choose a certificate.

With Mint 17 I am able to connect to Eduroam out-of-the-box, I just have to choose PEAP as authentication method and enter my details.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This can be fixed in backporting a commit; I'll upload a fixed package to utopic shortly, then we can look into a SRU for the change.

affects: network-manager (Ubuntu) → network-manager-applet (Ubuntu)
Changed in network-manager-applet (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Saucy will be EOL in about a month; unless somebody says otherwise, I think I'd rather spend the time to provide the fix in the other releases that are still supported -- people still on 13.10 should consider upgrading to 14.04 as soon as possible, which should generally be a good idea for all the other bug fixes that would come with it.

If it's really needed, I can provide packages in a PPA, but for now I'll just close the Saucy / 13.10 task as Won't Fix.

Other releases will still get the updates when they are tested.

Changed in network-manager-applet (Ubuntu Saucy):
status: New → Won't Fix
Changed in network-manager-applet (Ubuntu Precise):
status: New → Triaged
Changed in network-manager-applet (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → High
Changed in network-manager-applet (Ubuntu Precise):
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in network-manager-applet (Ubuntu Trusty):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 0.9.8.8-0ubuntu7

---------------
network-manager-applet (0.9.8.8-0ubuntu7) utopic; urgency=medium

  * debian/patches/git_revert_system_ca_cert.patch: don't require system CA
    certs to validate the wireless AP certs if the user chooses not to supply
    a certificate. (LP: #1104476)
 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 11 Jun 2014 15:29:36 -0400

Changed in network-manager-applet (Ubuntu Utopic):
status: In Progress → Fix Released
Revision history for this message
Vincent Gerris (vgerris) wrote :

This bug still affects me with current updates.
I had to change /etc/NetworkManager/system-connections/network-ssid
the line system-ca-cert=true
to system-ca-cert=false
Then restart the network and it works.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Yes, this fix will not change connections that have already been created, it will only not set system-ca-cert for new connections.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

This bug appeared in Raring, Precise is not affected by it.

no longer affects: network-manager-applet (Ubuntu Precise)
Revision history for this message
Felix (felix-daniel-perez) wrote :

Hi All:

Same bug in 14.04 .Is a headache the network manager with this type of authentication!!

My organization dont use a cert to authenticate to the network, use password, so, is a big problem to connect!

Br

Felix

Revision history for this message
Boris Hollas (borish) wrote :

Eduroam works for me with Ubuntu 14.04 as of today if I use the installer provided by Eduroam. Your institution should provide a link to this installer, which retrieves and stores the appropriate CA-certs and creates an entry for network-manager.

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello zsolt.ruszinyák, or anyone else affected,

Accepted network-manager-applet into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/network-manager-applet/0.9.8.8-0ubuntu4.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

description: updated
Changed in network-manager-applet (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-applet (Ubuntu Raring):
status: New → Confirmed
no longer affects: network-manager-applet (Ubuntu Raring)
Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

Version 0.9.8.8-0ubuntu4.3 in trusty-proposed works here.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 0.9.8.8-0ubuntu4.3

---------------
network-manager-applet (0.9.8.8-0ubuntu4.3) trusty-proposed; urgency=medium

  * debian/patches/git_revert_system_ca_cert.patch: don't require system CA
    certs to validate the wireless AP certs if the user chooses not to supply
    a certificate. (LP: #1104476)
 -- Mathieu Trudel-Lapierre <email address hidden> Mon, 07 Jul 2014 11:11:52 -0400

Changed in network-manager-applet (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for network-manager-applet has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Aang (aang-aero) wrote : Re: Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate

Downloaded latest gnome-network-manager update from repository on Ubuntu 14.04 64bit - I am now able to connect with a CA Certificate :-) - issue appears to be resolved on Ubuntu 14.04

Revision history for this message
Franko Burolo (fburolo) wrote :

Except that this bug report is about the impossibility to connect WITHOUT a CA certificate...

Revision history for this message
Aang (aang-aero) wrote :

My apologies for the typo, I meant "without" - so the corrected version:

Downloaded latest gnome-network-manager update from repository on Ubuntu 14.04 64bit - I am now able to connect without a CA Certificate :-) - issue appears to be resolved on Ubuntu 14.04

Update:
I am being prompted for the WiFi password on the network without the CA Certificate every time I power on the computer, but once I enter the password it connects. This behavior only occurs on boot up; recovering from suspend has no issues.

Once again, my apologies for the typo on post #179 :-\

Revision history for this message
Aravind Pogu (aravind-pogu) wrote :

Hi All,

I have installed Ubuntu 14.04 in my system recently on Oct 7th. I still have this problem to connect to my University network.

I have tried the work around mentioned in the thread to remove system-ca-cert=true from the my connection SSID. But, I could not even find that line. I even restarted the Network Manager several times.

Please help !!

Thanks,
Aravind

Revision history for this message
Albert Pool (albertpool) wrote :

Aravind,

That line is already deleted if you add the connection with the latest updates to NetworkManager installed.

If you're still having trouble, probably the wrong authentication type is set in the wifi security settings. Default is TTLS, but at least my university (Utrecht University, NL) needs PEAP here for its Eduroam network. The inner authentication is MSCHAPv2 but I think that was right by default.
Settings may be different at your university but I think it's certainly worth giving it a try.
When you are asked for the certificate, choose to ignore it (unless you know which one to specify).

Future questions about this are better asked on a forum instead. This is a closed bug.

Revision history for this message
Pablo Cabrera (pablo-rocka) wrote :

@Aang (aang-aero)

I managed to get rid of the password prompt by adding the password in the [802-1x] section of the connection file:

in the /etc/NetworkManager/system-connections/YOURSSID

Edit the section:
[802-1x]
eap=peap;
identity=YOURUSERNAME
phase2-auth=mschapv2
password=YOURPASSWORDUNENCRYPTED

and it worked for me. No more accept certificate or password prompty dialog.

Revision history for this message
Alex Luecke (alex-james-luecke) wrote :

This bug is still persistent for me in 14.10.

Revision history for this message
Albert Pool (albertpool) wrote :

As I said already, 14.10 has another problem.
Go to Network Settings or Network Connections, edit the Eduroam connection, and go to the WiFi Security tab.
Here set the authentication type to Protected EAP instead of the default Tunneled TLS which is wrong for eduroam, at least on my university.

It is unrelated to this bug so feel free to open a new bug for it, if you did not need to do this in past releases of Ubuntu.

Revision history for this message
natheo (natheo) wrote :

I have the bug since yesterday, just after I reinstall Ubuntu 14.04. Before it has never happened.

Revision history for this message
Juliano Fischer Naves (julianofischer) wrote :

I have the bug too.
Maybe is related to the network interface.

Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

Revision history for this message
philipballew (philipballew) wrote :

Is there a bug report for this issue happening in 14.10 as well? I see that as #186 pointed out, this is a different problem, is there a bug report for it? If not, I will go ahead and create one.

Revision history for this message
Albert Pool (albertpool) wrote :

@philipballew I'm not aware of another bug report, and don't have time to look for one at present. I'm a Linux Mint user myself; Cinnamon has its own issues with Eduroam. besides, there is no 14.10 based Linux Mint at present, so the 14.10 problems don't really affect me.
What I said in #186 was how a friend with Ubuntu on a Mac, got eduroam working.

Revision history for this message
Vincent Gerris (vgerris) wrote :

since a few days I suddenly have issues again connecting to PEAP based wifi again.
Keep having a popup. Above options did not work.
Intel 7260 card.
not only that, but the ignore option still does not work in the GUI.

Revision history for this message
Franko Burolo (fburolo) wrote :

A few days ago, I couln't connect to my faculty's PAP network, either... I thought it was a problem on their side, as they tend to have them every so often. But now with Vincent's message... I don't know. It may be a new bug in NetworkManager?
I haven't been to my faculty with my laptop since then to see if the problem still persists... I'll probably be there again on Monday, so I can re-check.

Revision history for this message
Vincent Gerris (vgerris) wrote :

I thought for me it was a password change, but I tested another laptop with Fedora and that just works.
So it seems like a bug in Ubuntu at least.
Not sure if it is the same, but I hope someone will pick this up and fix it.
This is another big risk for losing users.
Happy to test any fixed packages....

Revision history for this message
Franko Burolo (fburolo) wrote :

I was today at the faculty again, and I still couldn't connect to the network with my Ubuntu Vivid laptop, but my Android phone could. As this is only happening since very recently, it sounds like a bug in Ubuntu to me, too. And it is probably a regression, since this was working perfectly before, always on Vivid. I have recently got this laptop, and Vivid is the first, and still the only OS ever used on it.
Except that in my case, nothing ever pops up. It is just trying to connect forever. But if it is a new bug, we should open a new report.

Revision history for this message
Franko Burolo (fburolo) wrote :

Today I tried to delete that connection and set it up again. Still no dice, but now the issue looks exactly as Vincent describes it. :-D After some seconds of not being able to connect, a window pops up asking my username and password. Both Are correct, I multi-checked it, but it just won't connect.

Revision history for this message
Martin (w-martin-h) wrote :

Wow, ... 15.04 and I face the problem again.
One can also work around this with a wpa_supplicant.conf.
It actually works like a charm, i.e. https://www.rz.uni-osnabrueck.de/dienste/internet/wlan/eduroam/Linux/linux.htm

Revision history for this message
Zacharias Steinmetz (zsteinmetz) wrote :

Same on my PC running Vivid (3.19.0-22, BCM4313), both with certificate added and ignored. Thanks for the workaround, though.

Revision history for this message
Steve (dday246) wrote :

I can't connect to my campus WiFi either on Ubuntu 14.04 I can connect on my iPhone, home, and coffee shop networks but not at school. My IT guy at school couldn't fix it and he runs Ubuntu. I don't want any workarounds or some Micky Mouse bullshit. I want a simple one click update that resolves the issue. I can't even add a printer at home and now this. I'm about to go back to windows if this isn't resolved with an update. I'm glad I decided not to donate any money to this company. I suppose my dad was right when he said despise the free lunch.

Revision history for this message
Vincent Gerris (vgerris) wrote :

Hi Steve,

Ubuntu is a project mostly led by people in their free time.
While I agree that this is an annoying bug, your remarks are a bit blunt when it comes to respecting people's hard work.
How about you be happy with what IS working and try to contribute to a solution?
Feel free to code yourself, after all it is open source.
If you like to go back to a proprietary operating systems that has closed source drivers that crash and cannot be fixed it all, why not go for it?
If you don't like Ubuntu, try something else. I do not have the issue on Fedora.
Can't add a printer? Look in the fora, I never had any problem for the last 8 years with any printer and like with Windows some (most not) need a driver.

Last but not least, I agree with Steve that this issue should be fixed.
Can anyone suggest what we should to ?

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

I would suggest people having this bug to open new bug reports with as much details of their systems as they can provide. If the issue are really duplicates of this one, the new bug reports can be duplicated to this one later. I'm connecting with Eduroam networks with 3 different laptops (two with Ubuntu 14.04 and one with Ubuntu 15.10) with no issues, so I think people being hit by this bug are being affected by a combination of software and own hardware particularities.

Revision history for this message
Franko Burolo (fburolo) wrote :

As I said before, on my Toshiba laptop with Qualcomm Atheros WiFi and Ubuntu Vivid 64 it worked brilliantly at first (and still it does on a non-updated live media), but it stopped working, probably after who-knows what update, which is why I don't believe it is a hardware issue.
That said, I do agree with Walter, we should open a new bug report for this one. I would do it myself, but for now the only place where I can test this is my university, which, if everything goes well, I am finishing next week, when I'll be giving my MA thesis presentation. So, ATM I am kinda busy preparing for that, and once that's done, my access credentials for the uni network will soon be cancelled, and I won't be able to contribute any test reports. So I concluded it would be pretty useless for me to open it.

And then about Steve... :-D I have worked in hotels and restaurants, and I know very well what special extra spices some customers get, including those who "despise the free lunch". So go on, enjoy your expensive all-served meal. It certainly does have that something extra. ;-)

Revision history for this message
Vincent Gerris (vgerris) wrote :

Created a new bug : https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1473088
Please put your info there, thank you.

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :
Download full text (5.3 KiB)

Description of problem: After updating to wpa_supplicant 2.4-3 on July 1, was unable to connect to my corporate wifi access point. Subsequent downgrade to wpa_supplicant 2.3-3 fixed access problem, so I think this is a wpa_supplicant bug

Version-Release number of selected component (if applicable): wpa_supplicant 2.4-3

How reproducible: Upgrade to 2.4-3 try to access wpa/wpa2 wifi with TTLS authentication that has been working for well over a year now. Fails. Downgrade to 2.3-3 and it works again.

Steps to Reproduce: See above
1. Select network in NetworkManager
2. Does not connect
3. Keeps asking for password

Actual results:

From /etc/wpa_supplicant.log after upgrade:

wlp12s0: SME: Trying to authenticate with e0:1c:41:34:19:e9 (SSID='CICS' freq=5220 MHz)
wlp12s0: Trying to associate with e0:1c:41:34:19:e9 (SSID='CICS' freq=5220 MHz)
wlp12s0: Associated with e0:1c:41:34:19:e9
wlp12s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
wlp12s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp12s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
wlp12s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected
wlp12s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authori
ty' hash=c3846bf24b9e93ca64274c0ec67c1ecc5e024ffcacd2d74019350e81fe546ae4
wlp12s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authori
ty' hash=c3846bf24b9e93ca64274c0ec67c1ecc5e024ffcacd2d74019350e81fe546ae4
wlp12s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.g
odaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287' hash=09ed6e991fc3273d8fea317d339c0204
1861973549cfa6e1558f411f11211aa3
wlp12s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/OU=Domain Control Validated/CN=cicsnc.org' hash=598c9bcc63d9e114262181d14
dfed5372381b7ae0eb762e701b689b0e309f9b7
wlp12s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:cicsnc.org
wlp12s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:www.cicsnc.org
wlp12s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:osx.cicsnc.org
wlp12s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:osx2.cicsnc.org
SSL: SSL3 alert: write (local SSL3 detected an error):fatal:handshake failure
OpenSSL: openssl_handshake - SSL_connect error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small
wlp12s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
wlp12s0: Authentication with e0:1c:41:34:19:e9 timed out.
wlp12s0: CTRL-EVENT-DISCONNECTED bssid=e0:1c:41:34:19:e9 reason=3 locally_generated=1
wlp12s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="CICS" auth_failures=1 duration=10 reason=AUTH_FAILED
wlp12s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="CICS" auth_failures=2 duration=35 reason=CONN_FAILED

After downgrade:

wlp12s0: Trying to associate with e0:1c:41:34:19:e9 (SSID='CICS' freq=5220 MHz)
wlp12s0: Associated with e0:1c:41:34:19:e9
wlp12s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp12s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
wlp12s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
wlp12s0: ...

Read more...

Revision history for this message
In , Wallace (wallace-redhat-bugs) wrote :

I'm using Fedora 22.
After updating the package wpa_supplicant 2.3 to 2.4 can not connect to the wireless network (PEAP-MSCHAPv2, no CA Certificate).

Please see this thead http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/Internal-radius-server-incompatibility-with-the-new-wpa/td-p/236602

After downgrade to 2.3 it works again.

Revision history for this message
In , Major (major-redhat-bugs) wrote :

I ran through a git bisect this morning and found that once this patch was applied, I couldn't hop on my corporate Aruba wifi network:

https://w1.fi/cgit/hostap/commit/?id=674f6c073f6f7cd9e04e5f117710f03d5e09ad63

_______________________________________________
commit 674f6c073f6f7cd9e04e5f117710f03d5e09ad63
Author: Eliad Peller <email address hidden>
Date: Wed Oct 22 08:03:56 2014 -0400

    WMM AC: Add basic ADDTS/DELTS sending functions

    Add basic implementation for ADDTS and DELTS sending
    functions.

    wpas_wmm_ac_addts() will send ADDTS request public action,
    containing TSPEC (traffic stream specification) with
    the given params.

    wpas_wmm_ac_delts() will look for the saved tspec with
    the given tid, and send DELTS public action for it.

    (Handling of ADDTS response and actually configuring the admission
    control params will be added in following patches.)

    Signed-off-by: Moshe Benji <email address hidden>
    Signed-off-by: Eliad Peller <email address hidden>
_______________________________________________

A simple 'git revert' was insufficient as additional patches have piled into these same files afterwards. :/

Revision history for this message
In , Dan (dan-redhat-bugs) wrote :

(In reply to Kevin Havener from comment #0)
> Description of problem: After updating to wpa_supplicant 2.4-3 on July 1,
> was unable to connect to my corporate wifi access point. Subsequent
> downgrade to wpa_supplicant 2.3-3 fixed access problem, so I think this is a
> wpa_supplicant bug
>
>
> Version-Release number of selected component (if applicable): wpa_supplicant
> 2.4-3
>
>
> How reproducible: Upgrade to 2.4-3 try to access wpa/wpa2 wifi with TTLS
> authentication that has been working for well over a year now. Fails.
> Downgrade to 2.3-3 and it works again.

This appears to be an OpenSSL issue, not a wpa_supplicant one:

SSL: SSL3 alert: write (local SSL3 detected an error):fatal:handshake failure
OpenSSL: openssl_handshake - SSL_connect error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small
wlp12s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed

for exmaple, see:

https://bbs.archlinux.org/viewtopic.php?id=198796
http://alicevixie.blogspot.com/2015/06/dh-key-too-small.html

Revision history for this message
In , Dan (dan-redhat-bugs) wrote :

(In reply to Wallace Hermano from comment #1)
> I'm using Fedora 22.
> After updating the package wpa_supplicant 2.3 to 2.4 can not connect to the
> wireless network (PEAP-MSCHAPv2, no CA Certificate).
>
> Please see this thead
> http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/Internal-
> radius-server-incompatibility-with-the-new-wpa/td-p/236602
>
> After downgrade to 2.3 it works again.

Your issue is likely due to wpa_supplicant enabling TLSv1.2 support (in response to recent attacks against SSLv3, TLSv1.0, and TLSv1.1, like the recent Firefox updates that disabled SSLv3 and TLSv1.0 negotiation). Unfortunately, not all RADIUS servers are prepared for that, and they accept the TLSv1.2 connection but generate a mismatching key than the supplicant does. That bug is in the RADIUS server...

There are some patches floating around that will detect this condition and fall back to the less-secure TLSv1.1 automatically, and we'll probably have to add those to Fedora until the RADIUS server vendors like Cisco, Aruba, etc catch up and fix their products.

Revision history for this message
In , Dan (dan-redhat-bugs) wrote :

(In reply to Dan Williams from comment #3)
> (In reply to Kevin Havener from comment #0)
> > Description of problem: After updating to wpa_supplicant 2.4-3 on July 1,
> > was unable to connect to my corporate wifi access point. Subsequent
> > downgrade to wpa_supplicant 2.3-3 fixed access problem, so I think this is a
> > wpa_supplicant bug
> >
> >
> > Version-Release number of selected component (if applicable): wpa_supplicant
> > 2.4-3
> >
> >
> > How reproducible: Upgrade to 2.4-3 try to access wpa/wpa2 wifi with TTLS
> > authentication that has been working for well over a year now. Fails.
> > Downgrade to 2.3-3 and it works again.
>
> This appears to be an OpenSSL issue, not a wpa_supplicant one:
>
> SSL: SSL3 alert: write (local SSL3 detected an error):fatal:handshake failure
> OpenSSL: openssl_handshake - SSL_connect error:14082174:SSL
> routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small
> wlp12s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
>
> for exmaple, see:
>
> https://bbs.archlinux.org/viewtopic.php?id=198796
> http://alicevixie.blogspot.com/2015/06/dh-key-too-small.html

More info: wpa_supplicant 2.4 may trigger this where 2.3 would not, becuase 2.4 enables some new ciphers for use with TLSv1.2, and the server may have enabled DH only for those ciphers that are now enabled.

The options are to either get your network admins to fix the DH key issue by using something > 768 bits, or to disable TLSv1.2 for now until they fix it.

But as a test, here's a wpa_supplicant with TLSv1.2 disabled by default. If you could test it on your network where you get the "dh key too small" error to see if that fixes the issue, then great, we can proceed with a more general solution. But if it doesn't fix the issue, then we'll need to dig a bit deeper and there may not be a general fix.

http://koji.fedoraproject.org/koji/taskinfo?taskID=10392924

Revision history for this message
In , Major (major-redhat-bugs) wrote :

I tried the koji build from the last comment and I'm unable to connect. With debug wpa_supplicant logs, I get:

SSL: SSL_connect:error in SSLv2/v3 read server hello A
SSL: SSL_connect:error in SSLv3 read finished A
SSL: SSL_connect:error in SSLv3 read finished A

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

I also tried the Koji build. Got the same error as I originally submitted:

SSL: SSL3 alert: write (local SSL3 detected an error):fatal:handshake failure
OpenSSL: openssl_handshake - SSL_connect error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small
wlp12s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed

I

Revision history for this message
Martin (w-martin-h) wrote :

Jiminy crickets, kernel upgrade to 3.19.0-23 and EDUROAM is picking up again!

Revision history for this message
Geir Ola (geir-f) wrote :

Have anyone found a functional workaround? Other than the one described above? I don't have the proper knowledge to implement the one above.
Are able to create files and edit with nano if told exactly where to do so.
Running Ubuntu Mate 15.04 - 3.18.0-25rpi2 - Mate 1.8.2 on a Raspberry Pi 2.

Revision history for this message
In , Virgilio (virgilio-redhat-bugs) wrote :

I can also confirm that a downgrade of the wpa_supplicant package to version 2.3.3 on Fedora 22 x86_64 makes it possible again to connect to a WPA2 Enterprise/PEAP/MSCHAPV2 network, like eduroam.

Revision history for this message
In , Hannes (hannes-redhat-bugs) wrote :

I can further confirm that downgrading wpa_supplicant to 2.3.3 allowed me to immediately connect to eduroam.

Revision history for this message
In , Gregor (gregor-redhat-bugs) wrote :

I can confirm the same behavior. Immediately after downgrading the wpa_supplicant to 2.3.3 allowed me to connect to our company WIFI.

Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :

I can confirm the same behavior.

I downgraded to 2.3.3 and I was able to connect successfully to connect to the wifi, but then I upgraded the kernel to 4.1.6 and it installed an wpa_supplicant-gui and some other wpa packages, and it stopped working again.

Can I get some help identifying if the issue is from the same root cause?

Because the wpa_supplicant-gui has the same 2.4.4 version of the wpa_supplicant and I tried to downgrade the *-gui one and it failed, due to not having package available.

Revision history for this message
In , Kent (kent-redhat-bugs) wrote :

FYI: I have seen the same (or at least very similar problems). Upgrading to 2.4-3 or 2.4-4 broke my eduroam connection. Downgrading to 2.3-3 again made it work.

I talked to the people running the authentication server (Radiator) used when I log in to eduroam. They upgraded OpenSSL and a related Perl module on the server. After that, eduroam survived an upgrade to 2.4-4 on my laptop.

Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :

Solved the issue removing the wpa_supplicant, and it removed anaconda and anaconda-gui. Then I re-installed the wpa_supplicant, NetworkManager-wifi, and downgraded the wpa_supplicant.

If someday has a fix I would be very happy to un-block wpa_supplicant packages from my dnf exceptions.

Revision history for this message
In , Germano (germano-redhat-bugs) wrote :

*** Bug 1244188 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Germano (germano-redhat-bugs) wrote :

Lastest wpa supplicant working with WPA Enterprise connections:
wpa_supplicant-2.3-3.fc22.x86_64

Revision history for this message
In , David (david-redhat-bugs) wrote :

(In reply to Germano Massullo from comment #15)
> Lastest wpa supplicant working with WPA Enterprise connections:
> wpa_supplicant-2.3-3.fc22.x86_64

Just to avoid confusion:

The lastest wpa supplicant that works with WPA Enterprise connections is
wpa_supplicant-2.3-3.fc22.x86_64

Revision history for this message
In , Ville (ville-redhat-bugs) wrote :

eduroam broke for me with 2.4 as well. I tried upgrading to 2.5 locally but it remained similarly broken. Works with 2.3-3.

Revision history for this message
In , Ville (ville-redhat-bugs) wrote :

*** Bug 1245766 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

(In reply to Gregor Fuis from comment #10)
> I can confirm the same behavior. Immediately after downgrading the
> wpa_supplicant to 2.3.3 allowed me to connect to our company WIFI.

I had the same issue. The workaround with version 2.3.3 did the trick for me as well.

(In reply to Dan Williams from comment #4)
> Your issue is likely due to wpa_supplicant enabling TLSv1.2 support (in
> response to recent attacks against SSLv3, TLSv1.0, and TLSv1.1, like the
> recent Firefox updates that disabled SSLv3 and TLSv1.0 negotiation).
> Unfortunately, not all RADIUS servers are prepared for that, and they accept
> the TLSv1.2 connection but generate a mismatching key than the supplicant
> does. That bug is in the RADIUS server...

I can confirm that updating FreeRADIUS (server/network infrastructure) to version freeradius-2.2.6-6.el6_7.x86_64 fixed the issue with wpa_supplicant as well as a (probably similar) issue with android 6.0 as described here https://code.google.com/p/android/issues/detail?id=188867#c29

I am now running wpa_supplicant-2.4-4.fc22.x86_64 on fedora and can connect successful to a WiFi using PEAP-MSCHAPv2 (with and without a server certificate check against a CA Certificate)

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.

Revision history for this message
In , Wallace (wallace-redhat-bugs) wrote :

I'm testing Fedora 23 beta but i can't downgrade the wpa_supplicant.

Revision history for this message
In , Nick (nick-redhat-bugs) wrote :

I wouldn't bother degrading client security by forcing TLS 1.1

The fact that Google have shipped with TLS 1.2 in Android 6.0 (Marshmallow) is quickly identifying and mopping up broken authentication servers.

Revision history for this message
In , Nick (nick-redhat-bugs) wrote :

I posted in the Google issue tracker:

" suspect that you all are hitting this issue because the new version of Android is now negotiating, correctly, with TLS 1.2 and you have a broken backend.

If so, this issue should be marked as being invalid.

This applies to anybody with WPA2-Enterprise/802.1X SSIDs backed by either FreeRADIUS 2.2.6 with all TLS-based EAP types, 2.2.6 through 2.2.8 with EAP-TTLS, 3.0.7 with all TLS-based EAP types, and 3.0.7 through 3.0.9 with EAP-TTLS, or Radiator 4.14 or later when used in conjunction with Net::SSLeay 1.52 or earlier.

These unfortunately experience a critical bug where they miscalculate session keying material, the MPPE keys, when the TLS 1.2 protocol is negotiated by EAP clients (supplicant).

Clients that negotiate with the TLS 1.2 protocol version in the TLS Client Hello will not be able to get a usable association to affected wireless networks.

Two MPPE keys, the MS-MPPE-Recv-Key (MasterReceiveKey) and MS-MPPE-Send-Key (MasterSendKey), are used to derive the Master Session Key (MSK). This is absolutely essential to get a usable association.

The mismatch occurs because the client derives the correct MSK and the AP derives a different, incorrect MSK due to the incorrectly calculated MPPE keys supplied in the RADIUS Access-Accept.

This is more of an acute issue as Red Hat ship with a broken FreeRADIUS 2.2.6 package in RHEL 6.7. There is an update now to address this: https://rhn.redhat.com/errata/RHBA-2015-1829.html

CentOS 6.7 is similarly affected as it derives from Red Hat's sources.

I should also mention that there is a difference between implementing/offering TLS 1.2 or not and being intolerant to it. It is the latter that is a problem with the introduction of TLS 1.2 for EAP.

The issue above, loosely, concerns intolerance because the subsequent MPPE keys generated are miscalculated.

Deployments that continue to offer just TLS 1.0 will continue to function correctly as TLS 1.0 will be negotiated by EAP clients (supplicants) despite it offering TLS 1.2 in the client hello in their default configuration. (TLS has a version negotiation mechanism, you just need an intersection of supported versions and cipher suites.)"

Revision history for this message
In , Nick (nick-redhat-bugs) wrote :

This bug needs to be closed as NOTABUG.

Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :

Hey Nick,

I am not using Android, I am using the Fedora 23 as an SO and this error is really annoying, I tried to check which TLS version I am using and still dont have any clue.

Can you help checking or to use the TLS that doesnt error out?

Revision history for this message
In , Nick (nick-redhat-bugs) wrote :

Anywhere that is using wpa_supplicant 2.4 or later without specific configuration to disable TLS 1.2 will hit this issue with affected RADIUS servers. TLS 1.2 is rightly enabled by default.

(Android Marshmallow uses such a version of wpa_supplicant).

You can certainly disable TLS 1.2 in the configuration for wpa_supplicant if you absolutely must get a usable connection.

Do so with phase1="tls_disable_tlsv1_2=1"

Ideally though you would seek to get the RADIUS server updates to a version that isn't broken.

Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :

I am trying to understand better the last choice, I could connect with the command line, but its kind of annoying still. My version of the freeradius is this
[~] $ sudo dnf info freeradius
Last metadata expiration check performed 3:05:10 ago on Tue Nov 24 12:08:27 2015.
Pacotes instalados
Name : freeradius
Arq. : x86_64
Epoch : 0
Versão : 3.0.8
Release : 3.fc23
Tam. : 3.4 M
Repo : @System
From repo : fedora

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

I'm not sure if I get you right. Are you using Fedora as a server operating system to provide radius authentication for your network infrastructure?

TLS1.2 is the currently newest and (hopefully) most secure version of the TLS protocol and therefore it is a good choice using it. So disabling TLS1.2 is a bad idea as stated in comment #26. Use a radius server version that implements TLS1.2 correctly instead.

Version 3.0.8 is affected when using EAP-TTLS as mentioned in comment #23 so if you have trouble use a different server version or a different EAP type.

If I've got you totally wrong and you are not the network operator ask your network operator to fix the problem and remove freeradius from your notebook/workstation.

Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :
Download full text (4.6 KiB)

Yeah, I am a software developer using Fedora as a workstation. Unfortunately my network administrators like Windows, the solution they provided me is to use Ubuntu. If I want to use Linux. I prefer Fedora because I use it since version 13.

I removed the freeradius. The command line is not connecting anymore.
Here is my log. Any thoughts?

Successfully initialized wpa_supplicant
wlp6s0: SME: Trying to authenticate with 94:b4:0f:1b:bc:c5 (SSID='ciandt.private' freq=2462 MHz)
wlp6s0: Trying to associate with 94:b4:0f:1b:bc:c5 (SSID='ciandt.private' freq=2462 MHz)
wlp6s0: Associated with 94:b4:0f:1b:bc:c5
wlp6s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp6s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp6s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA' hash=ff856a2d251dcd88d36656f450126798cfabaade40799c722de4d2b5db36a73a
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust Inc./OU=Domain Validated SSL/CN=GeoTrust DV SSL CA' hash=c27fd4b85e96d3777c68ab7df6aa4e626bf3ff8c72b1ce81d1eb78babeb1a074
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=lLUge2fRPkWcJe7boLSVdsKOFK8wv3MF/C=US/O=securelogin.arubanetworks.com/OU=GT28470348/OU=See www.geotrust.com/resources/cps (c)11/OU=Domain Control Validated - QuickSSL(R) Premium/CN=securelogin.arubanetworks.com' hash=47fa89956f2aa349e8814b21a7bbd64c9b597f0f192bfe073559945a7a846534
wlp6s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:securelogin.arubanetworks.com
wlp6s0: CTRL-EVENT-DISCONNECTED bssid=94:b4:0f:1b:bc:c5 reason=3 locally_generated=1
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=BR
wlp6s0: SME: Trying to authenticate with 94:b4:0f:1b:bc:c5 (SSID='ciandt.private' freq=2462 MHz)
wlp6s0: Trying to associate with 94:b4:0f:1b:bc:c5 (SSID='ciandt.private' freq=2462 MHz)
wlp6s0: Associated with 94:b4:0f:1b:bc:c5
wlp6s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp6s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp6s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA' hash=ff856a2d251dcd88d36656f450126798cfabaade40799c722de4d2b5db36a73a
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust Inc./OU=Domain Validated SSL/CN=GeoTrust DV SSL CA' hash=c27fd4b85e96d3777c68ab7df6aa4e626bf3ff8c72b1ce81d1eb78babeb1a074
wlp6s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=lLUge2fRPkWcJe7boLSVdsKOFK8wv3MF/C=US/O=securelogin.arubanetworks.com/OU=GT28470348/OU=See www.geotrust.com/resources/cps (c)11/OU=Domain Control Validated - QuickSSL(R) Premium/CN=securelogin.arubanetworks.com' hash=47fa89956f2aa349e8814b21a7bbd64c9b597f0f192bfe073559945a7a846534
wlp6s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:securelogin.arubanetworks.com
wlp6s0: CTRL-EVENT-DISCONNECTED bssid=94:b4:0f:1b:bc:c5 reason=3 locally_generated=1
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp6s0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=BR
wlp6s0: SME: Trying to authenticat...

Read more...

Revision history for this message
In , Vincent (vincent-redhat-bugs) wrote :

(In reply to Luiz Pegoraro from comment #29)
> I am still wondering if the issue is on wpa_supplicant or on the hardware,
> because I know a guy who has another PC using Fedora 22 with wpa_supplicant
> 2.4 that connects in the network via NetworkManager.

For F22 with wpa_supplicant 2.4 check this bug too, it seems the openssl library version matters: https://bugzilla.redhat.com/show_bug.cgi?id=1276073

> Also that configuration of the phase1, Can I set somewhere in the
> NetworkManager so I don't have to run command lines to connect to the
> network?

I got it working (F23/wpa_supplicant-2.4-7/openssl-1.0.2d-2) with a custom wpa_supplicant config and some manual steps:
network={
 ssid="corpwifi"
 key_mgmt=WPA-EAP
 eap=PEAP
 phase1="peaplabel=auto tls_disable_tlsv1_2=1"
 phase2="auth=MSCHAPV2"
 identity="***"
 password="***"
}
Unfortunately, I couldn't get the above working with the Networkmanager (/etc/wpa_supplicant/wpa_supplicant.conf and ifcg-corpwifi). The config set in /etc/wpa_supplicant/wpa_supplicant.conf wasn't used.

Revision history for this message
In , Eran (eran-redhat-bugs) wrote :

(In reply to Vincent P. from comment #30)

Sorry for the rookie questions, but:
1. Did you change /etc/wpa_supplicant/wpa_supplicant.conf or did you replace it?
2. After the change in /etc/wpa_supplicant/wpa_supplicant.conf, how am I to connect if not by the Networkmanager?

Thanks

> (In reply to Luiz Pegoraro from comment #29)
> > I am still wondering if the issue is on wpa_supplicant or on the hardware,
> > because I know a guy who has another PC using Fedora 22 with wpa_supplicant
> > 2.4 that connects in the network via NetworkManager.
>
> For F22 with wpa_supplicant 2.4 check this bug too, it seems the openssl
> library version matters: https://bugzilla.redhat.com/show_bug.cgi?id=1276073
>
> > Also that configuration of the phase1, Can I set somewhere in the
> > NetworkManager so I don't have to run command lines to connect to the
> > network?
>
> I got it working (F23/wpa_supplicant-2.4-7/openssl-1.0.2d-2) with a custom
> wpa_supplicant config and some manual steps:
> network={
> ssid="corpwifi"
> key_mgmt=WPA-EAP
> eap=PEAP
> phase1="peaplabel=auto tls_disable_tlsv1_2=1"
> phase2="auth=MSCHAPV2"
> identity="***"
> password="***"
> }
> Unfortunately, I couldn't get the above working with the Networkmanager
> (/etc/wpa_supplicant/wpa_supplicant.conf and ifcg-corpwifi). The config set
> in /etc/wpa_supplicant/wpa_supplicant.conf wasn't used.

Revision history for this message
In , Vincent (vincent-redhat-bugs) wrote :

I'm not sure if this is the right place te respond, but hey..wth.

(In reply to Eran B. from comment #31)
> (In reply to Vincent P. from comment #30)
>
> Sorry for the rookie questions, but:
> 1. Did you change /etc/wpa_supplicant/wpa_supplicant.conf or did you replace
> it?
After I did some manual testing (see next answer), I tried to update /etc/wpa_supplicant.conf with my corpwifi config and reconnect via the Networkmanager. Unfortunately, it didn't work.

> 2. After the change in /etc/wpa_supplicant/wpa_supplicant.conf, how am I to
> connect if not by the Networkmanager?
I turned off wifi via the Networkmanager. I created a new wpa_supplicant.conf in /root/ and rand some manual commands:

1. Connect to wifi:
# wpa_supplicant -f /var/log/wpa_supplicant.log -dd -P /var/run/wpa_supplicant.pid -c wpa_supplicant.conf -Dwext -iwlp3s0

2. Get an IP:
# dhclient wlp3s0

After this you should get an IP.

During my tests I fiddled with 'rfkill list all', 'rfkill unblock wifi' and 'ip l set wlp3s0 up' too, but if you get an IP with the above steps, you don't need too.

Revision history for this message
In , Alberto (alberto-redhat-bugs) wrote :
Revision history for this message
In , Luiz (luiz-redhat-bugs) wrote :

SOLVED TODAY!!! BY NETWORKMANAGER!! Just dnf update -y
I am so thrilled! Thanks you guys!

I guess it was a problem in firmwares, I looked into the logs and there were a lot of new packages for firmwares.

Thanks a lot, I guess saying by using Fedora 23, this can be closed now.

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

As the opener of this bug, I think it can be closed now. While other folks seem to have wireless problems, I don't think they are related to my problem which was fixed for me by an upgrade to our corporate wireless access points. It has continued to work after upgrading from F22 to F23 and a couple of iterations of wpa_supplicant as well.

Revision history for this message
In , Dan (dan-redhat-bugs) wrote :

Yeah, for TLSv1.2 issues updating the RADIUS server or corporate network is obviously the best choice. If that's not possible then the workaround with the supplicant config must be used, but the problem is at the RADIUS server.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wpasupplicant (Ubuntu Saucy):
status: New → Confirmed
Changed in wpasupplicant (Ubuntu Trusty):
status: New → Confirmed
Changed in wpasupplicant (Ubuntu Utopic):
status: New → Confirmed
Changed in wpasupplicant (Ubuntu):
status: New → Confirmed
Changed in network-manager (Debian):
status: Unknown → New
tags: added: trusty xenial
no longer affects: network-manager-applet (Ubuntu Saucy)
no longer affects: network-manager-applet (Ubuntu Utopic)
no longer affects: wpasupplicant (Ubuntu Saucy)
no longer affects: wpasupplicant (Ubuntu Utopic)
Changed in wpasupplicant (Ubuntu):
importance: Undecided → High
Changed in wpasupplicant (Ubuntu Trusty):
importance: Undecided → High
tags: removed: raring regression-release saucy verification-done
Changed in network-manager-applet (Ubuntu):
assignee: Mathieu Trudel-Lapierre (cyphermox) → nobody
Changed in network-manager-applet (Ubuntu Trusty):
assignee: Mathieu Trudel-Lapierre (cyphermox) → nobody
Changed in network-manager-applet (Ubuntu):
status: Fix Released → Triaged
Changed in network-manager-applet (Ubuntu Trusty):
status: Fix Released → Triaged
Changed in wpasupplicant (Ubuntu):
status: Confirmed → Triaged
Changed in wpasupplicant (Ubuntu Trusty):
status: Confirmed → Triaged
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

The bug is still there, and happens despite the network adaptor being used.

description: updated
summary: - Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without
- CA_Certificate
+ Network manager cannot connect to WPA2/PEAP/MSCHAPv2 enterprise networks
+ without CA_Certificate, like Eduroam
summary: - Network manager cannot connect to WPA2/PEAP/MSCHAPv2 enterprise networks
- without CA_Certificate, like Eduroam
+ Network manager cannot connect to WPA2/PEAP/MSCHAPv2 wifi enterprise
+ networks without CA_Certificate, like Eduroam
summary: - Network manager cannot connect to WPA2/PEAP/MSCHAPv2 wifi enterprise
+ Network manager cannot connect to WPA2/PEAP/MSCHAPv2 enterprise wifi
networks without CA_Certificate, like Eduroam
Changed in fedora:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
In , Tchvatal (tchvatal) wrote :

This version of openSUSE changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
openSUSE, or consider the bug still valid, please feel free to reopen this
bug against that version, or open a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime

Changed in network-manager (openSUSE):
status: Confirmed → Won't Fix
Revision history for this message
Jarurote Tippayachai (jarurote) wrote :

This is also appeared on Ubuntu 18.04.1 TLE (64-bit).

After upgrading 64-bit OS from Ubuntu 16.04 TLE to Ubuntu 18.04.1TLE, my pc cannot authenticate with WPA/PEAP/MSCHAPV2/no certificate. It also appeared the login popup without any connection.

I try to do following URL; however, it could not help me anyway.

https://askubuntu.com/questions/279762/how-to-connect-to-wpa2-peap-mschapv2-enterprise-wifi-networks-that-dont-use-a-c

My PC is HP Compaq Pro 4300, CPU: Intel® Core™ i3-3220 CPU @ 3.30GHz × 4, OS: Ubuntu 18.04.1 (64-bit).

Thanks.

Revision history for this message
Adrián Arroyo Calle (adrian-arroyocalle) wrote :
Revision history for this message
Chaoqi Zhang (prncoprs) wrote :

OMG! It still exists on 2021-12-27, Ubuntu 20.02 LTS 64-bits.

Revision history for this message
Allan W. Macdonald (allan-w-macdonald) wrote :

Still happening on Ubuntu 20.04LTS:

uname -a
Linux nodename 5.15.15-76051515-generic #202201160435~1642693824~20.04~97db1bb~dev-Ubuntu SMP Fri Jan 21 x86_64 x86_64 x86_64 GNU/Linux

The workaround suggested in original bug description worked for me but I needed to use someone else's computer in order to find the solution.

Revision history for this message
Ali Tolga Özbaş (eroniss55) wrote (last edit ):

I can confirm the existence of this bug in Ubuntu 22.04 Beta. Everything is up to date. I've tried many things. Still won't work.

Oddly enough, everything was working fine on Arch Linux. I think some patch distros do in this package breaks WPA2 Enterprise.

Revision history for this message
Ali Tolga Özbaş (eroniss55) wrote :

22.04 stable version has been released yesterday, and it still doesn't work on Ubuntu 22.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.