Open Maexel opened 6 years ago
:+1: good example, but can't connect with this config to non-secure servers Is there a good example for mixing secure/non-secure?
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. I've fixed my problem.
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, the sample code seems to be a client, but after it's running, how can I enter some message into the terminal for sending to the other end? do you have run example?
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 https://github.com/cotomonaga/websocketpp_tutorial/blob/master/utility_client/step7.cpp
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 https://docs.websocketpp.org/md_tutorials_utility_client_utility_client.html
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 :)