Closed redfast00 closed 2 years ago
Hello there, were you successful in solving this issue? There was example from user named debsahu: https://github.com/debsahu/Esp32_EduWiFi
Yes, after updating patching esp-idf, recompiling the libraries and copying them over the old Arduino libraries, I was able to fix this. From what I can see, support for those certificates has now been added to esp-idf, so this should no longer be a problem as long as your version is up to date (don't know what version of the libraries Arduino uses though)
Hi @redfast00, I'm trying to get esp32 boards on the ugent eduroam without success. I'm using the most recent libraries in the arduino IDE, but maybe those are not up to date enough? how can I check this?
@Mitki2 The Arduino IDE might not have an up to date version of ESP IDF, I think you should be able to get the ESP-IDF version somehow. If you don't get it working and you're in Ghent, we can meet up next Friday and I'll try to help you out. Contact me via j@zeus.ugent.be if need be (in Dutch or English, either is fine).
I have created some updates in codes available in repository. There is 2021 and 2022 implementations. In Arduino Core 2.0.3-RC1 there was added new WiFi.begin() function that can accept parameters for WPA/WPA2 Enterprise connection. Can you please test that guys? I don't have access more to eduroam networks.
Note: 2.0.3-RC1 is development version, it is not available if you are using .json link in Arduino IDE for stable-only releases.
I don't really have the time to test this right now :/
have you tried it meantime? Was it working for you? With or without cert?
I haven't, but I got it working with an updated ESP-IDF, so it may have been fixed. Don't really have the time to test this anymore (I'd need to dig out my ESP boards and get the whole setup done again)
Ghent University recently switched eduroam certificates and this broke eduroam for ESP8266's and ESP32's. I debugged this with esp-idf to be able to get more logs and to be able to edit the libraries and found two things:
return 0;
in the certificate validation code, if someone doesn't do it before me, I'll open a PR to fix this properly when I have time.