Skip to Content.
Sympa Menu

cat-users - RE: [[cat-users]] eduroam and certificates

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

RE: [[cat-users]] eduroam and certificates


Chronological Thread 
  • From: Patrick Oberli <patrick.oberli AT ost.ch>
  • To: "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: RE: [[cat-users]] eduroam and certificates
  • Date: Wed, 18 Aug 2021 07:09:12 +0000
  • Accept-language: en-CH, de-CH, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ost.ch; dmarc=pass action=none header.from=ost.ch; dkim=pass header.d=ost.ch; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vEX5J6y6maPe7NP3CLhq3NCO4/4XzS0D3V1cJvrPx6Q=; b=IFG9O1MFARwdFiQhY2V8vL0R/8J9dAQZkyoKAOA1zMx/pwexuX9f9REFDUVfp+zJF73RdD4sDQE+FVpr9dLcTd2N6jWJOgoDX6BCgwvA6I4FnoY8F3LJuEsOrAA8Rb8gE9pctYyZZvD89BbKCeWRSr+p9KFheYJb9/2qHDbYHWw9SS17Y4SrQKpHEcfSMM24hvA/w80bxdsjsoclPIDEyo6WsayzHbpOUq9eLp9RZSxNITJLF/9UM3tpF/7Y8oZhfLMubQu1JXkxoHj61QilWHSn/u3I45F2MSxPqX3WYWH+LckHcqxmnZb51lwJdPKKjBmc+gFLuGgVX+WIC9nZyg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cgmiR3JysQmluXNybsYMQnvbCtcuwpZMSa+OosOjjdNt4a483bsQ3xzUL9RogpWr/kd+aFKmf6icACwoQpDKO0/ehS68avm72fXno7pyz8at/IyiTdePjWIH1ZlqoC9OzAZBvLD85S9G59Hb5w2ssiVXHW7cBeBrdL313Qet0z4Qd4R0bxkXMZhCZK5y6sYZ+Lzv/8Iakk3sPwAFBjDZ1dWdSru2TGPALozyKo0HAt2I42k+sYYOUa6SIqMwTYf1zCiZz9ENwCM0ETn/sSTzBh7Qr+c9eAoLpReOnOt8aHFkAEUOp0h3TK9L1P4MWKFysQEFkfkYECviOFJuzU2GHg==
  • Authentication-results: lists.geant.org; dkim=none (message not signed) header.d=none;lists.geant.org; dmarc=none action=none header.from=ost.ch;

Thank you for your answers.

> Yes, Android allows you to specify "Use system certificates" as what to
> validate against - so in that case, changing the root from one public CA to
> another would still work.

> Patrick, did you have this set on your phone?
I did. But the interesting part is, the old one was not even from a public
CA, but our own internal CA (which I have trusted on my mobile phone for
testing). So I assume that is the reason why Android 11 silently accepted the
new certificate. I hope I didn't overlook anything in my testing, it wasn't
really scientifically done.

But what I've learned so far, this is one area in Wi-Fi which is still after
many years very complicated, not standardized (the behavior) and fairly
badly/complicated documented.

Regards,
Patrick


Freundliche Grüsse

ICT - IT-Infrastructure
Netzwerk- und Multimediateam
Patrick Oberli

Tel direkt: +41 58 257 4958
Email: patrick.oberli AT ost.ch

OST – Ostschweizer Fachhochschule
ICT Information & Communication Technology | Oberseestrasse 10 | 8640
Rapperswil | Switzerland | https://www.ost.ch

OST – Ostschweizer Fachhochschule ist der Zusammenschluss aus HSR Rapperswil,
FHS St.Gallen und NTB Buchs.

-----Original Message-----
From: cat-users-request AT lists.geant.org <cat-users-request AT lists.geant.org>
On Behalf Of Vlad Mencl
Sent: Mittwoch, 18. August 2021 04:07
To: Martin Pauly <pauly AT hrz.uni-marburg.de>; cat-users AT lists.geant.org
Subject: Re: [[cat-users]] eduroam and certificates


Hi Martin,

Two comments on the behaviour of Android with respect to the certificate
validation:

On 18/08/21 04:47, Martin Pauly wrote:
>
>
> But if the new cert has been signed by the root cert your Android
> already was set up to expect, everthing is fine. As long root cert and
> server name do not change, the verification process is exactly the
> same, and hence the result is the same.

Yes, Android allows you to specify "Use system certificates" as what to
validate against - so in that case, changing the root from one public CA to
another would still work.

Patrick, did you have this set on your phone?

[snip]

> Android as provided by Google (e.g. AOSP, Pixel phones) has adopted
> this policy for WiFi 802.1X logon as a sort of default. The old,
> really dangerous "Do not validate"
> setting is gone.
> The most liberal way to go is called "Use system defaults". This means:
>  - Accept any PKI whose root cert is in Android's JAVA certs store
> (Android equivalent of /etc/ssl/certs).
> Since the supplicant still has no clue as to the servername to expect, it
> accepts anything.

This it not really true. On Android 11, it asks you for "domain name"
to check for in the certificate - and specifying one is mandatory.

The domain name entered has to either exactly match a name in the
certificate, or it can also be shortened to just the "domain name" of the
certificate - I assume Android goes by the Public Suffix List to determine
how many components of the name from the certificate to strip.

So the security is reasonably good - at the very least, an attacker would
have to get a certificate issued with a name falling under the institution's
domain.


Cheers,
Vlad



--
Vladimir Mencl
Senior Software Engineer

Research & Education
Advanced Network NZ Ltd

M +64 21 997352
E vladimir.mencl AT reannz.co.nz
www.reannz.co.nz
To unsubscribe, send this message:
mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users
Or use the following link: https://lists.geant.org/sympa/sigrequest/cat-users



Archive powered by MHonArc 2.6.19.

Top of Page