On 20 August 2017 at 21:03, Tom Isaacson <tom.isaac...@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" Chris > Thanks. > > Tom Isaacson > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest