A managed Windows device can join the wired network of my corporate company, while a personal Linux one can't.
As far as I understand, this is possible thanks to IEEE 802.1x standard.
Looking at the configuration, a computer certificate is used and I managed to get access to the private key located under ...\Microsoft\Crypto\RSA\MachineKeys
and its corresponding certificate.
Questions are:
- Is it possible given those elements?
- Private key seems to be in a binary format I don't recognise, this should probably be converted to some DER/PEM format for Linux's NetworkManager? If so, how?
For 802.1x you commonly need
wpa_supplicant
on Linux. I guess, theoretically there could be other software too, but in practice you'd probably use supplicant.Or NetworkManager, which uses
wpa_supplicant
internally. Then you wouldn't directly care about supplicant. Assuming you use NetworkManager, you'd create a connection profile of typeethernet
with801-1x
settings. For example, usingnmcli
ornm-connection-editor
GUI.I am not sure about the certificate format. For testing, you could omit the certificate and not do any authentication. Of course, once you see that it works in principle, configure the certificates. See
man nm-settings
for the 802-1x properties.