params["private_key"] = "auth_serv/iCA-server/server.key"
hostapd.add_ap(apdev[0], params)
tls = dev[0].request("GET tls_library")
- if "GnuTLS" in tls:
+ if "GnuTLS" in tls or "wolfSSL" in tls:
ca_cert = "auth_serv/iCA-user/ca-and-root.pem"
client_cert = "auth_serv/iCA-user/user_and_ica.pem"
else:
try:
hostapd.add_ap(apdev[0], params)
tls = dev[0].request("GET tls_library")
- if "GnuTLS" in tls:
+ if "GnuTLS" in tls or "wolfSSL" in tls:
ca_cert = "auth_serv/iCA-user/ca-and-root.pem"
client_cert = "auth_serv/iCA-user/user_and_ica.pem"
else:
try:
hostapd.add_ap(apdev[0], params)
tls = dev[0].request("GET tls_library")
- if "GnuTLS" in tls:
+ if "GnuTLS" in tls or "wolfSSL" in tls:
ca_cert = "auth_serv/iCA-user/ca-and-root.pem"
client_cert = "auth_serv/iCA-user/user_and_ica.pem"
else:
try:
hostapd.add_ap(apdev[0], params)
tls = dev[0].request("GET tls_library")
- if "GnuTLS" in tls:
+ if "GnuTLS" in tls or "wolfSSL" in tls:
ca_cert = "auth_serv/iCA-user/ca-and-root.pem"
client_cert = "auth_serv/iCA-user/user_and_ica.pem"
else:
hostapd.add_ap(apdev[0], params)
tls = dev[0].request("GET tls_library")
- if "GnuTLS" in tls:
+ if "GnuTLS" in tls or "wolfSSL" in tls:
ca_cert = "auth_serv/iCA-user/ca-and-root.pem"
client_cert = "auth_serv/iCA-user/user_and_ica.pem"
else: