[Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1
John C. Turnbull
ozemale at ozemail.com.au
Sat Jul 20 07:31:07 CEST 2013
OK, so when I am in an environment that is using a proxy, the code I posted
to setup QNetworkProxy will just work for both HTTP and HTTPS?
If so, that's great but I can't test it now. My *immediate* problem is that
even when there is no proxy (such as right now), my attempt to display
Google Maps fails with the error:
> Unable to init SSL Context:
Any ideas why?
-----Original Message-----
From: interest-bounces+ozemale=ozemail.com.au at qt-project.org
[mailto:interest-bounces+ozemale=ozemail.com.au at qt-project.org] On Behalf Of
Thiago Macieira
Sent: Saturday, 20 July 2013 15:25
To: interest at qt-project.org
Subject: Re: [Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1
On sábado, 20 de julho de 2013 15.07.37, John C. Turnbull wrote:
> Hi Thiago,
>
> Thanks for your response.
>
> You stated:
> > HTTP proxies can handle HTTPS traffic too, by using issuing a
> >
> > CONNECT hostname:443 HTTP/1.0
> >
> > command.
>
> Pardon my ignorance, but how and where do I issue such a command? Is
> it part of the QNetworkProxy configuration?
You don't have to do anything. After you set this proxy with
QNetworkProxy::setApplicationProxy, QTcpSocket and QNetworkAccessManager
will automatically start using the proxy and will issue the command on their
own.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list