-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
-> Working SSL Client example here <- #706
Comments
👍 good example, but can't connect with this config to non-secure servers |
same question |
has no member "set_tls_init_handler" |
For mixed TLS/non TLS clients the procedure is similar to servers. I’ll see if I can prepare a client example that handles both secure and non-secure endpoints. In the meantime there is an echo_server_both example that demonstrates 95% of what is needed:
|
Thank you all. |
can you tell me what openssl version is required to get tls support going ? will v1.0.2 work? |
Thanks a lot! This got me started with WebSocketPP |
Thanks, helpful |
Dear Maexel, Thank you very much Scott |
Very wonderful example for tls-demo on websocketpp, thanks a lot!. |
Awesome! |
I also encountered the same problem and consulted a lot of information. Thank you very much! |
Thank you, Mr. Maexel! I wrote a WebSocket client that supports TLS, based on Maexel's excellent code. a WebSocket client that supports TLS For those who have tried websocketpp's "Utility Client Example Application Tutorial", this code would be the answer to step7 "Using TLS / Secure WebSockets". Utility Client Example Application Tutorial If you are looking for a config to non-secure servers, the above tutorial will be helpful. Thanks. |
Hello,
i havent found an example for an working client with ssl, but i was able to create a working client by myself today.
Basically it is just the echo client code where i activated tls and addet the tls init handler, but for people who aren't that familiar with c++ it will be really helpful and save time.
Maybe someone wants to create a echo client tls in the examples dir from it :)
The text was updated successfully, but these errors were encountered: