Anyone got some ESP32 EAP ideas?

Xasin wrote 05/15/2019 at 12:03 0 points

Hi! I've recently been trying to improve my ESP32 wifi helper functions, and came across the possibility of making it use EAP authentication to log in to, for example, my University network. Doing this would be fantastic, since then I wouldn't need to carry around a Raspberry Pi Zero to translate the Eduroam network to a simple WPA2 one.

However, actually logging in to the network is a lot more tricky than I first thought. I am able to provide the certificates and embed them into my ESP firmware, and the ESP itself does seem to try and connect via the right methods, but I always end up with the following, awkward error:

I (12411) wpa: SSL: Need 316 bytes more input data

I (14278) wpa: EAP-TLV: TLV Result - Failure
I (15287) wpa: >>>>>wpa2 FAILED

This error happens regardless of whether or not I provide my Identity, Password or certificates, and I am at a bit of a loss. My best guess is that I just don't have a valid certificate, so even if I provide it the ESP discards it and fails to connect.

Soooo I'm just going to ask here if someone has a bit more knowledge regarding Eduroam, EAP networks or the necessary certificates, and could help me out.

Using Eduroam would be a huge benefit for me ^^