Re: [Interest] QWebSocketServer via https

2020-07-17 Thread Alexander Carôt
19797 > Gesendet: Freitag, 17. Juli 2020 um 09:59 Uhr > Von: "Alexander Carôt" > An: "qt qt" > Betreff: Re: [Interest] QWebSocketServer via https > > P.S.: I also added to the constructor the following: > > QSslConfiguration sslConfiguration; > QFile c

Re: [Interest] QWebSocketServer via https

2020-07-17 Thread Alexander Carôt
P.S.: I also added to the constructor the following: QSslConfiguration sslConfiguration; QFile certFile(QStringLiteral(":/localhost.cert")); QFile keyFile(QStringLiteral(":/localhost.key")); certFile.open(QIODevice::ReadOnly); keyFile.open(QIODevice::ReadOnly); QSslCertificate certificate(&ce

[Interest] QWebSocketServer via https

2020-07-17 Thread Alexander Carôt
Hello all, I have been running a QWebSocketServer for a couple of years already and decided to switch from non-secure to secure mode now. My implementation is based on the Qt example Echoserver.cpp and what I did is this: 1.) Replaced the call m_pWebSocketServer(new QWebSocketServer(QStringLi