httpserver example does not work on Windows
I am trying to use the SSL portion of the qt-examples-master source code. I can build and run the code with non-SSL connections. When I run with SSL connections using either Chrome or my client application the code gets all the way through QSslServer::incomingConnection it does not get to handleConnection to start the HttpRequestHandler. I have tried other code samples I have found and they have similar issues. Is there an SSL example that has been tested on windows 10?
Bruce
Re: httpserver example does not work on Windows
Have you deployed the required OpenSSL libraries on the serve? These are detected at run time and, if not present, will cause SSL functions/negotiation to fail.
Re: httpserver example does not work on Windows
Quote:
Originally Posted by
ChrisW67
Have you deployed the required OpenSSL libraries on the serve? These are detected at run time and, if not present, will cause SSL functions/negotiation to fail.
Chris:
Thanks for your reply.
Yes I have libeay32.dll and ssleay32.dll in the debug folder.
When I call QString sslVersion = QSslSocket::sslLibraryBuildVersionString(); from my code it reports
sslVersion OpenSSL 1.0.2p 14 Aug 2018
Any other thoughts would be greatly appreciated.
Bruce