From 28ee6ddea97d1aa445ab4d1aabd1644cdd8523f6 Mon Sep 17 00:00:00 2001 From: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com> Date: Sat, 5 Mar 2022 12:23:20 +0530 Subject: [PATCH] added the fix for eap tls auth --- py-scripts/test_ipv4_ttls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py-scripts/test_ipv4_ttls.py b/py-scripts/test_ipv4_ttls.py index 8c4cf40d..7e862181 100755 --- a/py-scripts/test_ipv4_ttls.py +++ b/py-scripts/test_ipv4_ttls.py @@ -10,7 +10,6 @@ if sys.version_info[0] != 3: print("This script requires Python 3") exit(1) - sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../"))) LFUtils = importlib.import_module("py-json.LANforge.LFUtils") @@ -175,8 +174,9 @@ class TTLSTest(Realm): eap=self.eap, identity=self.identity, passwd=self.ttls_passwd, - realm=self.ttls_realm, - domain=self.domain, + private_key=self.private_key, + pk_password=self.pk_passwd, + ca_cert=self.ca_cert, hessid=self.hessid) if self.ieee80211w: self.station_profile.set_command_param("add_sta", "ieee80211w", self.ieee80211w) @@ -335,7 +335,7 @@ test_ipv4_ttls.py: -------------------- Generic command layout: python ./test_ipv4_ttls.py - + --upstream_port eth1 --radio wiphy0 --num_stations 3