Subject: An open discussion list for topics related to the geteduroam service
List archive
- From: Darren Boss <Darren.Boss AT alliancecan.ca>
- To: Paul Dekkers <paul.dekkers AT surf.nl>
- Cc: "geteduroam AT lists.geant.org" <geteduroam AT lists.geant.org>
- Subject: Re: Problem with certificates generated
- Date: Tue, 16 Aug 2022 19:17:04 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=alliancecan.ca; dmarc=pass action=none header.from=alliancecan.ca; dkim=pass header.d=alliancecan.ca; 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z4jHWk8smz/kZ3XbJcnnheqHiIMTmazpsDWZ8FT5yL4=; b=YKQkFlHPiZpqzRqbP6shwZOc0zVCgLYrFcX4sgIaa1U9i3FEIrjSOBnQ/eGMtS8XiSHNRksxymTyhMfsRezfJqxFBco4/oq3EHHDkcGjTa32gxdKCwbZaYXXI75WTblCgutxz2WRTnBjEW37diZWB52GAyn4+AczG2CPhW2Uch0d80x7YAevQ9/aKG1UkaVY7PJRfIUu9ok7KhZnj5RCnYlOcsA7VClHZgm0jJxVM+t+N0CIq7clIPE4FqDWGOeXaNkirFpyZGf9FKnguLjOCGq67F5Uawe60po0FmRy7ttOFnbVi/hi1udJvYnQCt0nJBS3tS8bE334cFR8sxuxiw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aO7V6eLJvthBy+4YGBDC/5eB4Nf9WMEN1PhNIE8d8dlA6n9LrBqIL8ub7V/20P7Xhi1hV2dKS/Zr9doK04BnIkTol42Bpwivxz+sEfDoqlUYLD+w+F4z0bvbSwDD9SM8mDSqzaZIo3tCdSVQnpUBMdI9VGdPo9fbtXEIXsgKKm2k8H+IfqQrvuB9VRE0fvFxvdqMquPzg76eSSoMkqIL3F+FotmvbIw9SPrZvXZ7+i2kNk+ikPb0gFwyZnP7gWePhl3cVpKg0ZGlm/WcFt/HLytaNs8j1qNloXAUHg1C29+K6p+hmirtmDtlwF0UQF0vz3+7ldyLu1+Qh2Ntndcojw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=alliancecan.ca;
- Msip_labels:
mods-available/eap eap { # The initial EAP type requested. Change this to peap if you're # using peap, or tls if you're using EAP-TLS. default_eap_type = ttls # The maximum time an EAP-Session can continue for timer_expire = 60 # The maximum number of ongoing
EAP sessions max_sessions = ${max_requests} tls-config tls-common { # The public certificate that your server will present certificate ...
wiki.freeradius.org
|
|
Darren Boss (he/him) |
|
Senior Programmer | Développeur Sénior |
||
|
|
|
343-341-2323 |
|
Sent: Tuesday, August 16, 2022 12:08 PM
To: Darren Boss <Darren.Boss AT alliancecan.ca>
Cc: geteduroam AT lists.geant.org <geteduroam AT lists.geant.org>
Subject: Re: Problem with certificates generated
You don't often get email from paul.dekkers AT surf.nl.
Learn why this is important
|
Hi,
Ok, so I suspect the issue you're seeing that is fixable with the -legacy flag is only on your local system; yet we don't currently configure a passphrase for the .pkcs12 files that are manually downloaded so I didn't expect you to have that problem on manual
downloaded certificates. If you extracted the pkcs12 payload from the .eap-config, this makes more sense.
Android 12 and Pixel 6 should just work; at least I just used Android 12 on a Pixel 5 a couple of times today and that worked ;-)
We need to look at generating a pkcs12 with a supported algorithm for end-user devices with OpenSSL 3; but I don't expect your Android phone has that already unless that's pushed to a very recent Android 12 update? (Feel free to suggest a fix ;-) The fix
may actually also be to run the server on an OpenSSL 3 server maybe, hmm. Like Ubuntu 22.04.)
If you want to rule things out, I can give you a test-account at a demo instance (running Debian) so you can test if it happens there or is something related to your local letswifi-ca deployment? (Send me a private mail if you want to try that.)
Regards,
Paul
On the Rocky 8.6 vm:
OpenSSL 1.1.1k FIPS 25 Mar 2021
On my local system (Fedora 36) where I'm running openssl to inspect the certs/keys:OpenSSL 3.0.5 5 Jul 2022 (Library: OpenSSL 3.0.5 5 Jul 2022)
Android version is 12 on a Pixel 6
Darren Boss (he/him)
Senior Programmer | Développeur Sénior
343-341-2323
Sent: Tuesday, August 16, 2022 11:56 AM
To: Darren Boss <Darren.Boss AT alliancecan.ca>
Cc: geteduroam AT lists.geant.org <geteduroam AT lists.geant.org>
Subject: Re: Problem with certificates generated
Hi,
What version of OpenSSL does your Rocky server run, and what version of Android are you testing with?
Regards,
Paul
I've been able to setup the portal app without too much trouble but while testing with Android it wasn't working and I started looking closely at the assets downloaded manually from the portal. The PKCS12 button generates a file that when I try inspecting with openssl, shows this error:
Error outputting keys and certificates
401C6D75A67F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
When using the -legacy flag, I can convert the format and even get my profile working with a Linux laptop and our appropriately configured freeradius server.
The certs in the mobileconfig are using this cipher as well if I copy out the base64 encoded string, decode, and inspect with openssl from the command line.
The vm running the portal app is running Rocky 8.6 and PHP 7.4 from the Rocky repos. Is the error I see in the manual downloads unusual? Any tips for doing further debugging or thoughts about what I'm seeing? I'm thinking of deploying on a Debian based vm just to see if the behavior is different.
Darren Boss (he/him)
Senior Developer | Développeur Senior
343-341-2323
0000-0001-7588-9500alliancecan.ca
- Problem with certificates generated, Darren Boss, 08/16/2022
- Re: Problem with certificates generated, Paul Dekkers, 08/16/2022
- Re: Problem with certificates generated, Darren Boss, 08/16/2022
- Re: Problem with certificates generated, Paul Dekkers, 08/16/2022
- Re: Problem with certificates generated, Darren Boss, 08/16/2022
- Re: Problem with certificates generated, Darren Boss, 08/17/2022
- Re: Problem with certificates generated, Hideaki GOTO, 08/17/2022
- Re: Problem with certificates generated, Jørn Åne de Jong, 08/17/2022
- Re: Problem with certificates generated, Darren Boss, 08/17/2022
- Re: Problem with certificates generated, Paul Dekkers, 08/18/2022
- Re: Problem with certificates generated, Darren Boss, 08/18/2022
- Re: Problem with certificates generated, Chris Phillips, 08/18/2022
- Re: Problem with certificates generated, Darren Boss, 08/18/2022
- Re: Problem with certificates generated, Darren Boss, 08/22/2022
- Re: Problem with certificates generated, Jørn Åne de Jong, 08/22/2022
- Re: Problem with certificates generated, Darren Boss, 08/17/2022
- Re: Problem with certificates generated, Darren Boss, 08/16/2022
- Re: Problem with certificates generated, Paul Dekkers, 08/16/2022
- Re: Problem with certificates generated, Darren Boss, 08/16/2022
- Re: Problem with certificates generated, Paul Dekkers, 08/16/2022
Archive powered by MHonArc 2.6.19.