[Interest] QWebSocket support for SSL

Christian Gagneraud chgans at gmail.com
Sun Aug 20 14:10:14 CEST 2017

On 20 August 2017 at 21:03, Tom Isaacson <Tom.Isaacson at navico.com> wrote:
> I have a websocket server that was written a while ago. I want to convert it to use QWebSocket then move it to port 443 and add SSL/TLS support. The first part is simple but I'm not sure about the second. There's an example on the Qt website:
> http://doc.qt.io/qt-5/qtwebsockets-sslechoserver-example.html
> but it loads two files localhost.cert and localhost.key. Where do these come from? Is there a tutorial or blog post that explains how they're generated?

You can generate these file with the openssl command.
Check, eg https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs
section "Generate a Self-Signed Certificate"


> Thanks.
> Tom Isaacson
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list