如果沒有證書,則無法連線到 WPA2/PEAP/MSCHAPv2 企業 WiFi 網路。軟呢帽 34

如果沒有證書,則無法連線到 WPA2/PEAP/MSCHAPv2 企業 WiFi 網路。軟呢帽 34

我的大學wifi使用WPA2 Enterprise讓學生連接他們的登入名稱和密碼,但我無法做到這一點,網路管理員總是說密碼不正確,並提示我輸入另一個密碼,即使密碼是正確的。

我的問題類似於https://askubuntu.com/questions/279762/how-to-connect-to-wpa2-peap-mschapv2-enterprise-wifi-networks-that-dont-use-ac但沒有一個解決方案對我有用。我使用 Fedora 34 Gnome,我的 wifi 轉接器型號是 Intel AX200

我的/etc/NetworkManager/system-connections/UNIVERSITY.WIFI樣子是這樣的

[connection]
id=UNIVERSITY.WIFI
uuid=0cdeb50f-03dd-45ba-85df-465027f0e12a
type=wifi
interface-name=wlp1s0
permissions=

[wifi]
hidden=true
mac-address-blacklist=
mode=infrastructure
ssid=UNIVERSITY.WFIFI
[wifi-security]
key-mgmt=wpa-eap

[802-1x]
eap=peap;
identity=my_login
password=my_password
phase2-auth=mschapv2

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto

[proxy]

答案1

這是您的答案:

看起來像在設定第 2 階段加密設定後:

update-crypto-policies --set LEGACY

如圖所示:我能夠毫無問題地連結。

您的 TLS 憑證可能使用 SHA-1(最有可能)或 RSA-1028(不太可能)。現在兩者都被拒絕了。

透過降級系統策略以允許 Fedora 32 中允許的所有加密進行測試:

$ sudo dnf install crypto-policies-scripts
$ sudo update-crypto-policies --set DEFAULT:FEDORA32

如果我的猜測是錯誤的,您將需要恢復到安全的 Fedora 33 預設 > 設定:

$ sudo update-crypto-policies --set DEFAULT

長話短說:

sudo update-crypto-policies --set LEGACY

相關內容