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

[websocket]: Fix pytest to verify client correctly #749

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

david-cermak
Copy link
Collaborator

The test code did accept also connections from clients which didn't present a certificate.
Need to use

ssl_context.verify_mode = ssl.CERT_REQUIRED

instead of verify in python's SSL context

@david-cermak david-cermak merged commit 7740b59 into espressif:master Jan 30, 2025
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants