-
Notifications
You must be signed in to change notification settings - Fork 7.7k
This issue has been moved to a discussionGo to the discussion
Closed
Labels
Type: QuestionOnly questionOnly question
Description
Board
ESP32 Dev Module
Device Description
DevKit
Hardware Configuration
NO
Version
latest stable Release (if not listed below)
IDE Name
VSCode
Operating System
Ubuntu
Flash frequency
40MHz
PSRAM enabled
no
Upload speed
115200
Description
I'm attempting to connect an ESP32-based board to an enterprise WiFi network using WPA2-Enterprise with PEAP (Protected EAP) and MSCHAPv2 authentication. However, the connection fails.
The enterprise network supports only TLS 1.0, which is now deprecated and appears to be unsupported by current ESP32 firmware (ESP-IDF / Arduino core).
When initiating a connection, the ESP32 reports a WL_DISCONNECTED status for several seconds, then transitions to WL_NO_SSID_AVAIL, even though the network is visible and broadcasting.
Sketch
status = WiFi.begin(
network_config.ssid.c_str(),
WPA2_AUTH_PEAP,
network_config.identity.c_str(),
network_config.username.c_str(),
network_config.password.c_str()
);
Debug Message
After debugging alittle I understand The TLS version negotiation is handled internally by the ESP-IDF WPA2 Enterprise stack (based on wpa_supplicant), and it uses the highest possible TLS version supported by both the client and server.
But still my question is it possible to change the TLS version to 1.0 only for WiFi stack. As for my use case its almost impossible to change/upgrade the hardware.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
Type: QuestionOnly questionOnly question
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Jason2866 commentedon May 15, 2025
Correct no support for TLS 1.0. If you want to use espressif devices either use older core or updating the wifi hardware is needed.
Tahir-Innok commentedon May 15, 2025
Thanks for your response @Jason2866 , can you please share which version/release have the support for TLS1.0.
Jason2866 commentedon May 15, 2025
Well since TLS 1.0 is long time ago deprecated. Search in very early Arduino versions. I doubt that Arduino core 2.x has support for. You may have luck with core 1.x
There is no support of any kind for this old cores. Support for TLS 1.0 has been removed since it is highly insecure to use. Running it is a security risk.
Edit: Arduino Core 1.0.6 does support TLS 1.0 You can try a core 2.0.x version there is a chance there is still support for TLS 1.0 left.