SSL Certificate Decrypt proplem in qml
-
I have qt/qml project an I use wcf encrypt service wich begin https.This service can't work in mobile.How can I decrypt or load certificate in qml side ?
Thanks
-
Hi,
What mobile platform are you referring to ? Which version of Qt are you using ?
-
Hi,
I have using android platfoform.I have use QT 5.4.2 version (Android for armeobi- v7a GCC 4.9,QT 5.4.2)Thanks
-
Did you compile OpenSSL for Android ?
-
Hi,
Problem has solved with this code like below:#include <QSslConfiguration>
#include <QSslSocket>QSslConfiguration config = QSslConfiguration::defaultConfiguration(); config.setPeerVerifyMode(QSslSocket::VerifyNone); QSslConfiguration::setDefaultConfiguration(config);
Thanks