tests: CA certificate in DER format
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
57be05e158
commit
9f8994c623
2 changed files with 1 additions and 1 deletions
BIN
tests/hwsim/auth_serv/ca.der
Normal file
BIN
tests/hwsim/auth_serv/ca.der
Normal file
Binary file not shown.
|
@ -172,7 +172,7 @@ def test_ap_wpa2_eap_ttls_chap(dev, apdev):
|
||||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||||
eap_connect(dev[0], apdev[0], "TTLS", "chap user",
|
eap_connect(dev[0], apdev[0], "TTLS", "chap user",
|
||||||
anonymous_identity="ttls", password="password",
|
anonymous_identity="ttls", password="password",
|
||||||
ca_cert="auth_serv/ca.pem", phase2="auth=CHAP")
|
ca_cert="auth_serv/ca.der", phase2="auth=CHAP")
|
||||||
hwsim_utils.test_connectivity(dev[0].ifname, apdev[0]['ifname'])
|
hwsim_utils.test_connectivity(dev[0].ifname, apdev[0]['ifname'])
|
||||||
eap_reauth(dev[0], "TTLS")
|
eap_reauth(dev[0], "TTLS")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue