Tls 1.1/1.2 in Qt 5.2
-
Qt 5.2, Win7, minGW 4.8, OpenSSL 1.0.1f
I tried to write a simple test program to get acquainted with QSslSocket.
"Source code":http://zalil.ru/34966043 "Self signed key and cert":http://zalil.ru/34966045If I set protcol = QSsl::TlsV1_0 or any SSL it gets connected and encrypted (with warning about self-signed certificate not match any of the valid hosts) .
If I set protcol = QSsl::TlsV1_1 or QSsl::TlsV1_2 it gets connected and never gets encrypted without any errors, warnings or debug output.If I do not provide key/cert - it just disconnects when tries to get encrypted.
If I do not provide dlls it writes «QSslSocket: cannot call unresolved function XYZ» messages.
So I guess it is not one of this cases.
What am I doing wrong? -
Hi and welcome to devnet,
For this kind of problem I would recommend asking on the interest mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)
Don't forget to subscribe first
-
Can you provide a link?
Never have used mailing lists before. -
"Here":http://lists.qt-project.org/mailman/listinfo/interest
Just subscribe and once completed send the mail to the list address