Basic authentication with the ESP-IDF HTTPS-Server

tionebrr
Posts: 8
Joined: Mon Jul 20, 2020 3:16 pm

Basic authentication with the ESP-IDF HTTPS-Server

Postby tionebrr » Fri Oct 09, 2020 2:15 am

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.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

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

Postby Baldhead » Mon Oct 12, 2020 3:42 am

Hi,

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

murbancic
Posts: 2
Joined: Thu Jan 30, 2020 7:57 am

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

Postby murbancic » Wed Oct 21, 2020 8:23 am

I also need authentication (user, pass) for http server.
I found only tutorials for Arduino.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

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

Postby Baldhead » Wed Nov 04, 2020 2:56 am

No espressif answer/suggestion yet :(

Ismael
Posts: 20
Joined: Thu Mar 05, 2020 7:35 am

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

Postby Ismael » Thu Nov 05, 2020 12:38 pm

Hi!
One more interested on this post.

Pascal_M
Posts: 3
Joined: Wed Jan 27, 2021 6:37 am

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

Postby Pascal_M » Mon Mar 01, 2021 8:03 am

Hi, me too.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

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

Postby Baldhead » Sun May 16, 2021 10:29 pm

nothing yet....

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon May 17, 2021 2:02 am

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.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

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

Postby Baldhead » Mon May 17, 2021 8:39 pm

@ESP_Sprite,

Will authentication be encrypted in this way ?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue May 18, 2021 6:01 am

As it'll happen over https, I imagine it will.

Who is online

Users browsing this forum: Bryght-Richard and 196 guests