Trying to programatically get the RADIUS certificate
0
votes
0
answers
69
views
When connecting to a WPA Enterprise access point, operating systems like iOS and macOS display the server certificate to the user if it has not been seen before. However, on Linux, using wpa_supplicant, this prompt does not appear. I have configured wpa_supplicant using a .conf file, but I do not get the server certificate. Is there any way to obtain the certificate when connecting to the AP on linux?
This is one of the configurations I have used:
network={
ssid="ssid"
key_mgmt=WPA-EAP
eap=PEAP
identity="your.username@example.com"
password="yourpassword"
phase1="peapver=0"
phase2="auth=MSCHAPV2"
ca_cert="/etc/ssl/certs/your_CA_cert.pem"
}
And the usage of wpa_supplicant:
sudo wpa_supplicant -i wlan0 -c /etc/tmp/network.conf -D nl80211 -dd
Asked by juvor
(149 rep)
Aug 3, 2025, 06:22 AM