Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutual TLS for ESP Websocket Client library (IDFGH-4200) #6059

Closed
wootsies opened this issue Nov 2, 2020 · 2 comments
Closed

Mutual TLS for ESP Websocket Client library (IDFGH-4200) #6059

wootsies opened this issue Nov 2, 2020 · 2 comments
Labels
Type: Feature Request Feature request for IDF

Comments

@wootsies
Copy link

wootsies commented Nov 2, 2020

I was trying to perform mutual authentication using the ESP IDF Websocket Client Library when I discovered that there was no way to set the client certificate and in the esp_websocket_client_config_t struct. This made me realise that the the web socket library does not actually support client authentication or mutual TLS.

Solution:
To add support for mutual TLS on websockets, similar to what has already been done in the ESP_TLS library where you simply need to set the client cert and key in order to support mutual TLS in the code.

@wootsies wootsies added the Type: Feature Request Feature request for IDF label Nov 2, 2020
@github-actions github-actions bot changed the title Mutual TLS for ESP Websocket Client library Mutual TLS for ESP Websocket Client library (IDFGH-4200) Nov 2, 2020
@Alvin1Zhang
Copy link
Collaborator

Thanks for raising this feature request.

@wootsies
Copy link
Author

wootsies commented Nov 3, 2020

This is linked to the questions raised by someone else here https://esp32.com/viewtopic.php?f=2&t=16194&p=67149#p67149

gabsuren pushed a commit to gabsuren/esp-protocols-1 that referenced this issue Apr 8, 2022
euripedesrocha pushed a commit to euripedesrocha/esp-protocols that referenced this issue Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request Feature request for IDF
Projects
None yet
Development

No branches or pull requests

2 participants