Page 1 of 1

Secure Websocket AT esp32c3

Posted: Wed Sep 04, 2024 4:29 pm
by matric
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

Re: Secure Websocket AT esp32c3

Posted: Wed Oct 09, 2024 12:29 pm
by esp-at
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.