Eduroam: Difference between revisions

Klinger (talk | contribs)
Add note on certificate location restrictions
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


== Setup ==
== Setup ==
For manual setup using wpa_supplicant, iwd, NetworkManager et. al. you can follow the instructions in the [https://wiki.archlinux.org/title/Network_configuration/Wireless#eduroam Arch Linux Wiki]. Note that configuration of eduroam highly depends on the way your institution implemented it. That's why you should consult their guidelines first and adapt accordingly.
For manual setup using wpa_supplicant, iwd, NetworkManager et. al. you can follow the instructions in the [https://wiki.archlinux.org/title/Network_configuration/Wireless#eduroam Arch Linux Wiki]. Note that for wpa_supplicant users, [[Wpa supplicant#Restrictions on Certificate Location|additional restrictions are placed on where certificates can be located]]. Also note that configuration of eduroam highly depends on the way your institution implemented it. That's why you should consult their guidelines first and adapt accordingly.


Declarative setup on Nix is possible for [[wpa_supplicant#eduroam]], [[iwd#eduroam]] (example in the respective articles) and [[NetworkManager]]. For the latter, an exemplary setup is described below.
Declarative setup on Nix is possible for [[wpa_supplicant#eduroam]], [[iwd#eduroam]] (example in the respective articles) and [[NetworkManager]]. For the latter, an exemplary setup is described below.
Line 17: Line 17:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
sudo mkdir -p /etc/ssl/certs/eduroam
sudo mkdir -p /etc/ssl/certs/eduroam
sudo mv private.key cert.pm /etc/ssl/certs/eduroam/
sudo mv private.key cert.pem /etc/ssl/certs/eduroam/
sudo chmod 600 /etc/ssl/certs/eduroam/private.key
sudo chmod 600 /etc/ssl/certs/eduroam/private.key
sudo chmod 644 /etc/ssl/certs/eduroam/cert.pem
sudo chmod 644 /etc/ssl/certs/eduroam/cert.pem