Hi All
I made some tests implementing web server solutions in the ESP32 like sockets, http services and https services every test is fine but when I tried to put all together I realize that the SSL services for the https do not work... my impression is that the SSL handshake is blocked if other services (non SSL) are open.
I would like to ask to the forum how to implement such services all together?
Regards
Thanks in advance! / MfG / Saludos
Juan
ESP32 as web server with http and https services at the same time
-
- Posts: 34
- Joined: Wed Feb 15, 2017 8:31 pm
Re: ESP32 as web server with http and https services at the same time
I think I have been successful in making outbound SSL calls, receiving in-bound SSL requests and also sending/receiving un-encrypted socket data. If you can provide more details, maybe the community can look deeper to see if there is something that can be recreated by others?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 34
- Joined: Wed Feb 15, 2017 8:31 pm
Re: ESP32 as web server with http and https services at the same time
Hi Mr Kolban, thanks for the feedback.
I am going first to make a double check by my side, looks like then there is bug in the "end user side" (me)
Regards
Juan
I am going first to make a double check by my side, looks like then there is bug in the "end user side" (me)
Regards
Juan
-
- Posts: 3
- Joined: Thu Aug 03, 2017 5:46 pm
Re: ESP32 as web server with http and https services at the same time
Hi,
Would you mind sharing your work ? I'm trying to make an HTTPS server with my ESP32
Thanks
Would you mind sharing your work ? I'm trying to make an HTTPS server with my ESP32
Thanks
-
- Posts: 34
- Joined: Wed Feb 15, 2017 8:31 pm
Re: ESP32 as web server with http and https services at the same time
Hi, about the example, please take a look here
https://github.com/espressif/esp-idf/tr ... ssl_server
Regards
Juan
https://github.com/espressif/esp-idf/tr ... ssl_server
Regards
Juan
Re: ESP32 as web server with http and https services at the same time
Is open SSL on esp32 different from TLS which kolban C++ HttpServer class uses.
Is this only example for open SSL use . do we have C++ class for it.
https://github.com/espressif/esp-idf/tr ... ssl_server
Is this only example for open SSL use . do we have C++ class for it.
https://github.com/espressif/esp-idf/tr ... ssl_server
Re: ESP32 as web server with http and https services at the same time
My loose understanding is that the SSL implementation in ESP-IDF is based on an implementation called "mbedtls". Another/alternative implementation for SSL is called "Open SSL". Both these packages have different APIs but similar functions. The Open SSL story on ESP32 is (I believe) a set of API mapping that allow an application to use the Open SSL APIs but those are mapped/shimmed to call mbedTLS under the covers.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: ESP32 as web server with http and https services at the same time
ok, thanks for explanation.
Who is online
Users browsing this forum: No registered users and 156 guests