tests: UNAUTH-TLS
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8ba89e0a32
commit
5a0c15174b
2 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
"psk.user@example.com" PSK 0123456789abcdef0123456789abcdef
|
||||
"vendor-test" VENDOR-TEST "foo"
|
||||
"osen@example.com" WFA-UNAUTH-TLS
|
||||
"unauth-tls" UNAUTH-TLS
|
||||
|
||||
"vlan1" PAX 0123456789abcdef0123456789abcdef
|
||||
radius_accept_attr=64:d:13
|
||||
|
|
|
@ -841,6 +841,14 @@ def test_ap_wpa2_eap_tls_neg_altsubject_match(dev, apdev):
|
|||
if ev is None:
|
||||
raise Exception("Network block disabling not reported")
|
||||
|
||||
def test_ap_wpa2_eap_unauth_tls(dev, apdev):
|
||||
"""WPA2-Enterprise connection using UNAUTH-TLS"""
|
||||
params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
|
||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||
eap_connect(dev[0], apdev[0], "UNAUTH-TLS", "unauth-tls",
|
||||
ca_cert="auth_serv/ca.pem")
|
||||
eap_reauth(dev[0], "UNAUTH-TLS")
|
||||
|
||||
def test_ap_wpa2_eap_ttls_server_cert_hash(dev, apdev):
|
||||
"""WPA2-Enterprise connection using EAP-TTLS and server certificate hash"""
|
||||
srv_cert_hash = "0a3f81f63569226657a069855bb13f3b922670437a2b87585a4734f70ac7315b"
|
||||
|
|
Loading…
Reference in a new issue