Can't make Wifi Enterprise EAP-TLS method work

sammcpherson
Posts: 1
Joined: Mon Mar 06, 2023 2:29 pm

Can't make Wifi Enterprise EAP-TLS method work

Postby sammcpherson » Mon Mar 06, 2023 2:50 pm

Dear ESP Team & Community,

We are trying to use the WPA2 Enterprise feature of ESP32, but we don't seem to be able to make it work in our desired setup.

So I have taken the ESP32 "WiFi_enterprise" example and I'm trying to make the connection in this clean way, without any part of our widened software.

Our desired setup:
We want to connect to WiFi over radius server -- using the certificates
(WiFi certificate + Private Key), i.e. using EAP-TLS method.
As I understand, the EAP-TLS does not mix with PEAP method. Am I right?

When using the PEAP method (including user name & password), connection works and everything is fine.

However, the EAP-TLS method does not work for us and we can't figure out why.
The ultimate conclusion according to debug output is,
"Build Identity Resp-> identity was not available".
The function esp_wifi_sta_wpa2_ent_set_identity in the example is being called just as to be expected, i.e. it's not outcommented or anything.

We are using ESP32-PICO-DevKitM-2,
esp-idf-v4.4 + Eclipse version 2021-09 (4.21.0)

Any help would be very appreciated, thanks in advance!



Full log of device start and trying to connect:
-----------------------------------------------
[attached as "EAP-TLS_Connect_Failure.log"]
EAP-TLS_Connect_Failure.log
(79.7 KiB) Downloaded 115 times

Who is online

Users browsing this forum: No registered users and 69 guests