-
Notifications
You must be signed in to change notification settings - Fork 725
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
Server's certificate is not verified on TLS mode #34
Comments
Hi, I'll seek a patch for that. Maybe a callback to ask whether trust the certificate. |
Seems that you're busy these days :) I found ssl::context::set_verify_mode is what we need. I'll submit a patch to fix it. |
#41 has been submitted for this issue. |
Hi, is this issue still there? |
I think the issue is still there. The comment above suggested to have a callback for certificate verification. |
Could someone provide a callback example for certificate verification? Thanks |
The Socket.IO cpp client doesn't verify server's certificate while TLS is enabled. So the server's certificate may be issued by an untrusted authority or server's domain may not match certificate's CN/SAN.
The text was updated successfully, but these errors were encountered: