Hi, just change "http:" to "https:" and try what happens.
If your server cert is signed with a root cert that exists in the system then this will work out of the box. If not you have two options: Handle the sslErrors signal of QNAM and check that the error you get is for the exact root cert that you want. Install the root cert into Qt before calling QNAM by using QSslSocket::setDefaultCaCertificate. Konrad On Thu, October 6, 2016 15:51, Larry Martell wrote: > I have a Qt app that sends requests to a server like this: > > QString urlStr = "http://foo.bar.com/baz"; > QUrl transferUrl(urlStr); > QNetworkRequest request(transferUrl); > networkReply = networkManager.get(request); > > We need to change this to use HTTPS. We have the needed certs on the > server. Can someone please point me at some docs that will help me get > the Qt app modified to work with HTTPS. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest