SSL with QML
Has anyone been successful in fetching an SSL page using XmlHttpRequest in QML on N900? I've got the following bit of code, which works fine for non-SSL page, but the response for SSL pages is empty (status code of 0, and empty headers). It works fine on the desktop and the N8. Am I missing something on the N900, or a bug on that platform?
Code:
import Qt 4.7 |
Re: SSL with QML
Hi, sorry for waking up this old thread. But I was also wondering about this, so I thought that it would be better to write here than starting a new thread.
My app is running on a Jolla. I'm not sure about whether it, in my case, has to do with that I'm using a self signed certificate or not. I can access the https url through the browser without problem since I've installed the certificate in the phone. |
Re: SSL with QML
Quote:
Example (not tested): networkaccessmanagerfactory.h Code:
#ifndef NETWORKACCESSMANAGERFACTORY_H Code:
#include <QNetworkAccessManager> Code:
NetworkAccessManagerFactory factory; |
Re: SSL with QML
I managed to ignore the SSL errors, so it works for now. But this seems to be a bit dangerous. Aren't there a way to look up whether the certificate is installed and accepted in the phone?
|
All times are GMT. The time now is 06:34. |
vBulletin® Version 3.8.8