Open kintel opened 8 years ago
nice suggestion, I've deployed a private fork of qhttp+https (with self signed certificates!!) for a client, will try to rewrite the code into this repository. the initial inception of qhttp was a simple REST server by Qt, as you know a web server is a far more advanced beast!
probably a well established and tried 3rd party solution as nginx as a reverse ssl proxy is more practical and secure.
nginx makes sense for server deployment. I was also testing https://mitmproxy.org as a light-weight reverse proxy for testing. ..but for embedding into a C++/Qt desktop app, I think adding SSL to qhttp would make some sense.
@kintel thank you for introducing mitmproxy! (i like nginx for its small size, sheer performance, modules, easy deployment and the most important: great community!)
Hi. What about supporting SSL in a server code? I'd like to implement a REST SSL server, but the great QHTTP library doesn't support SSL on the server side. Nowadays a public REST server without SSL is broken by design. It will be really great to have SSL support.
@dmitrykx
Nowadays a public REST server without SSL is broken by design
agreed. i will, asap.
@kintel @dmitrykx
i've added https/ssl
support to qhttp::server::QHttpServer
class in dev
branch, and tried to make it as simple as possible.
please have a look at ssl-simple and give me your valuable feedback.
Hi. I've tested it and it works fine. Thanks!
Have you considered adding support for SSL in the http server?
I'm considering using this for pull information out of a native app, initiated from a website. Websites should always be loaded over SSL and browsers tend to disallow mixed http/https content.