Page 1 of 2

Basic authentication with the ESP-IDF HTTPS-Server

Posted: Fri Oct 09, 2020 2:15 am
by tionebrr
Hello folks.

Does the ESP-IDF provides a way of securing webpages and websockets with password/login? I can find some documentation about authentication as client but not as server.
I am developing a product that will be installed on public places and I need the embedded configuration pages to be somewhat safe.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Mon Oct 12, 2020 3:42 am
by Baldhead
Hi,

I have the same requisite, but for a local network.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Wed Oct 21, 2020 8:23 am
by murbancic
I also need authentication (user, pass) for http server.
I found only tutorials for Arduino.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Wed Nov 04, 2020 2:56 am
by Baldhead
No espressif answer/suggestion yet :(

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Thu Nov 05, 2020 12:38 pm
by Ismael
Hi!
One more interested on this post.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Mon Mar 01, 2021 8:03 am
by Pascal_M
Hi, me too.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Sun May 16, 2021 10:29 pm
by Baldhead
nothing yet....

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Mon May 17, 2021 2:02 am
by ESP_Sprite
esp-idf/examples/protocols/http_server/simple/ has an example of basic authentication in it. I'd say mashing that together with esp-idf/examples/protocols/https_server/simple/ would do the job.

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Mon May 17, 2021 8:39 pm
by Baldhead
@ESP_Sprite,

Will authentication be encrypted in this way ?

Re: Basic authentication with the ESP-IDF HTTPS-Server

Posted: Tue May 18, 2021 6:01 am
by ESP_Sprite
As it'll happen over https, I imagine it will.