Commit e043cb3
authored
fix: update eduroam CA certificates and improve connection handling (#110)
## Summary
Updates the pinned RADIUS CA certificates from the outdated
USERTrust/GEANT chain to the current HARICA roots that Saxion's server
actually uses, and improves the connection activation flow with explicit
timeouts and better error messaging.
## Type of change
- [x] `fix` — bug fix (broken link, incorrect command, layout issue)
- [x] `content` — update or improve existing content
## Details
### Script Changes (`saxion-eduroam.py`)
**Certificate Update:**
- Replaces pinned certificates with the actual chain served by
`ise.infra.saxion.net`:
- Hellenic Academic and Research Institutions RootCA 2015 (depth=3)
- HARICA TLS RSA Root CA 2021 (depth=2)
- Removes the outdated USERTrust RSA CA and GEANT OV RSA CA 4 that
caused "unknown CA" failures after GÉANT's migration to HARICA
- Adds comprehensive documentation explaining the certificate chain, why
pinning is necessary, and how to refresh if Saxion changes CAs again
**Connection Handling Improvements:**
- Adds `CONNECT_TIMEOUT = 45` constant to prevent the script appearing
frozen during the 90-second default nmcli wait
- Passes `--wait` flag to nmcli with explicit timeout
- Adds subprocess timeout as a backstop
- Prints status message during connection attempt so users know the
script is still running
- Improves error handling to log full nmcli errors before checking for
certificate failures
- Adds graceful timeout handling with helpful guidance to check logs
**File Permissions:**
- Changes CA certificate file permissions from 0600 to 0644, since these
are public root certificates (not keys) and NetworkManager reads them as
a system service
### Documentation Changes
**English (`eduroam-network-installation.md`):**
- Updates explanation of certificate pinning to reference HARICA roots
instead of USERTrust/GEANT
- Adds context about GÉANT's migration and the previous failure mode
- Updates SHA256 checksum
**Dutch (`eduroam-network-installation.nl.md`):**
- Parallel updates to Dutch documentation
- Updates SHA256 checksum
## Checklist
- [x] PR title follows the commit convention
- [x] Both EN and NL versions updated
- [x] No broken image references
- [x] Changes tested against actual certificate chain from live
handshake1 parent 1feba84 commit e043cb3
3 files changed
Lines changed: 248 additions & 140 deletions
File tree
- src
- content/docs/networking
- static/scripts
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
77 | 103 | | |
78 | 104 | | |
79 | 105 | | |
| |||
Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
77 | 105 | | |
78 | 106 | | |
79 | 107 | | |
| |||
0 commit comments