Hi,
I am building an app where I try to talk to an external webserver. At the moment I am opening php files on the server with specific get variables and the sever answers with a xml file. On the server are user specific information where the user needs to login to have access. To the login over my app I would like to secure the connection to the server by using SSL. Unfortunately I only have a self-signed SSL certificate available, witch is not working out of the box. Currently I am getting a SSL handshake failed error message.
Is there a way in QML to accept self-signed SSL certs?
Here is what I am currently doing and what is working with http
Page {
id: root
property string dataURL: "https://..."
property bool modelDataError: false
property string statusMessage: ""
property string filter: ""
property var datum : new Date()
property int jetzt: datum.getTime()/1000 - 24*3600
XmlListModel {
id: planModel
source: root.dataURL
query: "/xml/"
...
Page {
id: root
property string dataURL: "https://..."
property bool modelDataError: false
property string statusMessage: ""
property string filter: ""
property var datum : new Date()
property int jetzt: datum.getTime()/1000 - 24*3600
XmlListModel {
id: planModel
source: root.dataURL
query: "/xml/"
...
To copy to clipboard, switch view to plain text mode
Bookmarks