Can the ESP32 provide a secure (HTTPS) Access Point (AP)

Hairy-Lee
Posts: 2
Joined: Thu Jul 22, 2021 4:02 pm

Can the ESP32 provide a secure (HTTPS) Access Point (AP)

Postby Hairy-Lee » Thu Nov 03, 2022 1:01 pm

Hi

So as to avoid a "Not Secure" warning when accessing my AP it would advantagous if a secure connection could be established. I might be entering the wrong search criteria, but couldn't find anything suggesting that it is possible nor any examples showing me how I'd go aout it if it were. Is it?

The ideal scenario would along the lines of...

1. Self-signed and have our phone-based app accessing the AP know the root public key the self-signing cert came from.
2. Using something like a wildcard TLS cert and use some local DNS hijacking to resolve a subdomain locally.

Any advice, pointers to examples, suggestions etc would be grately appreciated.

Thanks

JoeSensoric
Posts: 29
Joined: Fri Mar 03, 2017 10:31 am

Re: Can the ESP32 provide a secure (HTTPS) Access Point (AP)

Postby JoeSensoric » Wed Nov 09, 2022 1:12 pm

You have to separate the AP server and the web server. For HTTP / HTTPS the web server will provide the protocol. An example for an HTTPS server you can find here:
https://github.com/espressif/esp-idf/tr ... ver/simple

Hairy-Lee
Posts: 2
Joined: Thu Jul 22, 2021 4:02 pm

Re: Can the ESP32 provide a secure (HTTPS) Access Point (AP)

Postby Hairy-Lee » Thu Dec 08, 2022 1:33 pm

Sorry I was checking, but it didnt show as having any notifications so I missed this. Yes I found the https_server example and tried implementing that into my code, but couldn't get it to work. I will see if I have any look seperating the 2. Thanks

Who is online

Users browsing this forum: snutw_ and 86 guests