espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.7k stars 7.3k forks source link

Will ESP32 support EAP-TLS authentication method in the future? (IDFGH-877) #3232

Closed MaoniinoaM closed 5 years ago

MaoniinoaM commented 5 years ago

Now our team are trying ESP32 module into our concepted sensors which deliver the data to Mindsphere directly. You konw many factories have the secure management of wireless. According to the ESP-IDF SDK, I can succeed to connect the kind of sensor to our secure AP with the authentication method of EAP-PEAP which needs username and password. In the real factory plant, it's barely convenient. But the EAP-TLS does not need this kind of info, it just need the certificate which is more possible to deploy the sensors with ESP32 module in factory plant via secure wireless.

So will Espressif have a plan to support EAP-TLS in the future? Deeply hope it comes out.

Environment

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

liuzfesp commented 5 years ago

Hi @elitezhu IDF already supports EAP-TLS/EAP-PEAP/EAP-TTLS.

MaoniinoaM commented 5 years ago

@liuzfesp , Thanks for replying. But in the example/wifi/wpa2_enterprise, the SDK just define the EAP-PEAP and EAP-TTLS micro which I can refer and configure in menuconfig. So if I choose EAP-TLS, what's the micro number I need configure in the menuconfig.

negativekelvin commented 5 years ago

https://github.com/espressif/esp-idf/blob/76da10a665c228b81225130ca2060d04c1ee000a/examples/wifi/wpa2_enterprise/main/Kconfig.projbuild#L14

MaoniinoaM commented 5 years ago

Thank you!

Alvin1Zhang commented 5 years ago

@negativekelvin Thanks for the updates, @elitezhu has your issue been resolved? Thanks.

MaoniinoaM commented 5 years ago

@Alvin1Zhang @negativekelvin Sorry,I have returned back from BeiJing, so I can't verify it right now. But I think I have got the right answer. Thanks for replying. And the issue can be closed.

Alvin1Zhang commented 5 years ago

Thanks @elitezhu Feel free to reopen if any updates, thanks.