Websocket with client authentication (mutual SSL)

AloyseTech
Posts: 22
Joined: Mon Jul 22, 2019 2:29 pm

Websocket with client authentication (mutual SSL)

Postby AloyseTech » Thu Jun 18, 2020 5:18 pm

Hi,

I'm trying to setup a websocket (wss) client with mutual SSL authentication.

Currently (ESP-IDF 4.0.1) the websocket API seems to only offer server authentication (by providing the trusted certificate). Is there any way to add client authentication (i.e. provide client cert and key to the server) ?

Best regards

Wootsies
Posts: 6
Joined: Fri Sep 18, 2020 7:32 pm

Re: Websocket with client authentication (mutual SSL)

Postby Wootsies » Mon Nov 02, 2020 6:55 am

Hi there,

Were you able to find a way to get websockets working with client authentication using the ESP websocket client?

Even in ESP-IDF 4.1 the struct esp_websocket_client_config_t does not have a way to configure the client certificate and key for verification by the server.

Best regards

Who is online

Users browsing this forum: Baidu [Spider] and 96 guests