Secure Websocket AT esp32c3

matric
Posts: 1
Joined: Wed Sep 04, 2024 3:24 pm

Secure Websocket AT esp32c3

Postby matric » Wed Sep 04, 2024 4:29 pm

Dear board,

I was wondering how to set up a secure encrypted websocket (wss ) connection using the AT WEBSOCKET commands, how to I provide the certificates for the ssl handshake? Which command sequence should I use?

Regards,

Matteo

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: Secure Websocket AT esp32c3

Postby esp-at » Wed Oct 09, 2024 12:29 pm

Hi, this feature was added to master branch, you can pull the latest code and have a test (document is not ready now).

Three new parameters are added to AT+WSCFG command.

AT+WSCFG=<link_id>,<ping_intv_sec>,<ping_timeout_sec>[,<buffer_size>][,<auth_mode>,<pki_number>,<ca_number>]

parameter meanings are same to https://docs.espressif.com/projects/esp ... .html#id94.

you can use AT+SYSMFG command to update certificates and keys.

Who is online

Users browsing this forum: No registered users and 35 guests