-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add SSL support to rawsocket subsystem #36
Comments
@VinnyOG We currently do not have a use case for SSL which is why it is currently not supported. However, in taking a look at the existing code in http://www.boost.org/doc/libs/1_40_0/doc/html/boost_asio/example/ssl/server.cpp |
@davidchappelle Thanks for the reply! |
We would definitely be open to a pull request. It doesn't look like you will but, If you run into any fundamental changes to the existing API we should discuss. Also, please try and stick with the coding style that is currently is use. Hopefully that is fairly clear from the existing code :) |
@VinnyOG Just out of curiosity, which WAMP client are you using? |
No worries, I'll stick to the convention the best I can. |
@VinnyOG, have you tried putting server behind SSL reverse proxy? Like AWS ELB, NGinx, HA |
@DZabavchik I like having applications more self contained so I didn't even consider that. Is it a common setup in the production environments you've worked in? I also think it would be much nicer to implement SSL as its own thing here than jump through extra hoops to get it working via an external program. |
Correct. It is always more secure and faster not to have application server deal with encryption. Especially when you can delegate it to a machine with hardware assisted cryptography (HSM module). You save a lot of CPU cycles on application server when it doesn't have to deal with asymmetric cryptography. Try it out, if you use AWS it takes 3 minutes to setup Elastic Load Balancer. (For websockets do not setup HTTPS -> HTTP, instead configure as SSL/TLS 443 -> TCP 8080 (or whatever port your application is listening on). Another advantage is that you don't have to run as root, because you don't have to use ports < 1024 |
Another option is to just deploy your own nginx instance: https://www.nginx.com/resources/admin-guide/nginx-tcp-ssl-termination/ |
The project I'm working on is small scale proof-of-concept that will be used between my family, friends and me which is why I'm avoiding paying for more services than I need (AWS is awesome- but on a student budget it adds up over the course of the year). The standard open-source nginx does not support the stream directive which I would need for the SSL proxy- otherwise I would be using it :) |
Hello!
I am building a small network for little devices to talk to each other. I love your project so far but it needs SSL support to be used in a production environment. When will you implement this?
Thanks!
Pawel
The text was updated successfully, but these errors were encountered: