Skip to content

Conversation

@razvanphp
Copy link
Contributor

@razvanphp razvanphp commented Sep 4, 2025

Not sure if this is the exact place to put it, in between the gates, but we really need this feature, just let me know where you want it placed.

It is tested and it works great.

Thank you for your work!

PS: related to the discussion in #921

This works using: https://github.com/espressif/arduino-esp32/blob/0dbaa3f0f7ff8c7f7c303fe33555e8cf548acae8/libraries/NetworkClientSecure/src/NetworkClientSecure.cpp#L355-L369

if(_client_cert && _client_key) {
_client.ssl->setCertificate(_client_cert);
_client.ssl->setPrivateKey(_client_key);
DEBUG_WEBSOCKETS("[WS-Client] no client certificate and key set\n");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this message is probably wrong.

@razvanphp
Copy link
Contributor Author

Hey @Links2004, are you ok with this add-on?

We really need it for extending the security profiles of OCPP client here: MicroOcpp.cpp#L154-L160

@Links2004
Copy link
Owner

dont see a problem with allowing mTLS, but may fix the debug message ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants