On our Cisco controllers, I see some devices "connected" and they should be 
issued a DHCP address in this network. They are not getting an IP address 
(0.0.0.0). Is this a symptom they are not passing with the cert? Thus failing 
802.1x?

Thank you

-----Original Message-----
From: The EDUCAUSE Wireless Issues Community Group Listserv 
<WIRELESS-LAN@LISTSERV.EDUCAUSE.EDU> On Behalf Of Higgins, Benjamin J
Sent: Friday, September 11, 2020 7:19 AM
To: WIRELESS-LAN@LISTSERV.EDUCAUSE.EDU
Subject: Re: [WIRELESS-LAN] [EXT] Re: [WIRELESS-LAN] Article: Android 11 
tightens restrictions on CA certificates

Can confirm that this "feature" has prevented SecureW2 from onboarding Android 
11 devices to our network.  While the app appears to *deliver* the certificates 
- they are in the drop down when you edit the WiFi Profile - if you attempt to 
connect to the network is sits and spins.  If you edit the profile again, you 
will find that the SecureW2 delivered certificate is no longer in the drop down 
list.  Only "Use system certificates" or "Do not validate" is there...

-----Original Message-----
From: The EDUCAUSE Wireless Issues Community Group Listserv 
<WIRELESS-LAN@LISTSERV.EDUCAUSE.EDU> On Behalf Of Jonathan Waldrep
Sent: Friday, September 11, 2020 8:39 AM
To: WIRELESS-LAN@LISTSERV.EDUCAUSE.EDU
Subject: [EXT] Re: [WIRELESS-LAN] Article: Android 11 tightens restrictions on 
CA certificates

On 2020-09-10 22:19:21, Johnson, Christopher wrote:
> This popped up in my news feed, that's going to affect the user experience 
> even more for onboarding apps for those with private CAs I'd imagine.
> 
> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhttptoolkit.tech%2Fblog%2Fandroid-11-trust-ca-certificates&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=OLv50t%2FT%2Fjj9eK1Dhj05DgE2YspIyuAKrdT5HIbpQs8%3D&amp;reserved=0
> 
> "In Android 11, to install a CA certificate, users need to manually:
> 
>   *   Open settings
>   *   Go to 'Security'
>   *   Go to 'Encryption & Credentials'
>   *   Go to 'Install from storage'
>   *   Select 'CA Certificate' from the list of types available
>   *   Accept a large scary warning
>   *   Browse to the certificate file on the device and open it
>   *   Confirm the certificate install
> 
> Applications and automation tools can send you to the general 'Security' 
> settings page, but no further: from there the user must go alone (fiddly if 
> not impossible with test automation tools)

tldr: I don't think this impacts certificates installed for Wi-Fi networks. 
They are handled differently. I would like someone who has experience with 
actually writing an on-boarding app to chime in, though.

Longer dive:
It is worth noting that when you manually install a CA in Android, it asks if 
you want to install it for "VPN and apps" or "Wi-Fi" (at least on Android 9, 
which is what I'm on). This indicates there is something different on the back 
end.

>From the article, it seems to stem from Google locking down the 
>KeyChain.createInstallIntent() API method [1] in the android.security package. 
>Ultimately what we are after is setting up a wireless profile. How does that 
>work? Well, there is an android.net.wifi package [2]. Let's look there.

There is a WifiConfiguration class, but there is a note that it was deprecated 
in API level 29 (Android 10), and to use WifiNetworkSpecifier.Builder instead 
[3]. The article is specifically about Android 11, so we don't care about older 
versions.

In the WifiNetworkSpecifier.Builder class, there is a public method 
setWpa2EnterpriseConfig(WifiEnterpriseConfig enterpriseConfig). So we need a 
WifiEnterpriseConfig class [4].

The WifiEnterpriseConfig class has a method setCaCertificate(X509Certificate 
cert) [5] which, as you may have guessed, is used to "Specify a X.509 
certificate that identifies the server." This takes an X509Certificate class, 
which is part of the java.security.cert package. We should be able to provide 
that irrespective of what Android does.

That is all good in theory, but what does an actual onboarding app do? The only 
open source one I'm aware of is eduroamCAT [6]. It seems to have issues with 
Android 10 [7], so it may not be the best example, but it's what I can find. A 
quick grep of the repository for "createInstallIntent" returns no hits. That's 
a good sign. Similarly, a grep for "setCaCertificate" has a hit in 
src/uk/ac/swansea/eduroamcat/WifiConfigAPI18.java. So it looks like eduroamCAT 
needs updated for API level 29, but it doesn't use the problematic method from 
the article (which was added in API level 14).

[1] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fsecurity%2FKeyChain%23createInstallIntent&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=rX0467d89iKWgBXyy05YvtLHWjeGdXayJWCpG25DQug%3D&amp;reserved=0()
[2] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fnet%2Fwifi%2Fpackage-summary&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=BBaurXtPgq9H9CG8bG79Gln5Wd8OCBVTd5g4GDcOdks%3D&amp;reserved=0
[3] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fnet%2Fwifi%2FWifiNetworkSpecifier.Builder&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=Uw8xu4AG%2BLonAyH0QYZfZEcknGkxsyFyff9TmomHe%2Bk%3D&amp;reserved=0
[4] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fnet%2Fwifi%2FWifiEnterpriseConfig&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=KfWGfYrmVfo3fRHWuZgovkaF1v%2BuVRFw42MUCkv3WX4%3D&amp;reserved=0
[5] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fnet%2Fwifi%2FWifiEnterpriseConfig%23setCaCertificate&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483916966&amp;sdata=BlznjgQLt1nfTQqd%2FoJYmpWUn5s1szz0jmznk4SobDc%3D&amp;reserved=0(java.security.cert.X509Certificate)
[6] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEANT%2FCAT-Android&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483926957&amp;sdata=RlNGw8V5GAlvjPbAJCpytxRcjNOmtXVGzDNOkhhybkQ%3D&amp;reserved=0
[7] 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGEANT%2FCAT-Android%2Fissues%2F37&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483926957&amp;sdata=K2TQU7hUVdKV97FDepI26GN%2BgaAnl8Uw4xuZOz%2BXt1U%3D&amp;reserved=0

-- 
Jonathan Waldrep
Network Engineer
Network Infrastructure and Services
Virginia Tech

**********
Replies to EDUCAUSE Community Group emails are sent to the entire community 
list. If you want to reply only to the person who sent the message, copy and 
paste their email address and forward the email reply. Additional participation 
and subscription information can be found at 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.educause.edu%2Fcommunity&amp;data=02%7C01%7Cbjhiggins%40WPI.EDU%7C5ac7d0e54c9043231cc208d8564faaa5%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637354247483926957&amp;sdata=mEQ0YMgYDX7ITdsQUvThK1%2Bgys4fnLLABSGCdYqFAFM%3D&amp;reserved=0

**********
Replies to EDUCAUSE Community Group emails are sent to the entire community 
list. If you want to reply only to the person who sent the message, copy and 
paste their email address and forward the email reply. Additional participation 
and subscription information can be found at https://www.educause.edu/community

**********
Replies to EDUCAUSE Community Group emails are sent to the entire community 
list. If you want to reply only to the person who sent the message, copy and 
paste their email address and forward the email reply. Additional participation 
and subscription information can be found at https://www.educause.edu/community

Reply via email to