支持使用QNetworkAccessManager的https。在运行时遇到SslErrors [英] Support for https using QNetworkAccessManager. Hitting SslErrors at runtime

查看:1120
本文介绍了支持使用QNetworkAccessManager的https。在运行时遇到SslErrors的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用QNetworkAccessManager执行https get操作。我在运行时碰到了SSLErrors。
在研究了一段时间之后,我能够在安装OpenSSL之后运行我的程序。我需要两个dll:libeay32.dll和ssleay32.dll。是否说我不能使用QNetworkAccessManager而不使用OpenSSL执行httpsget操作? Qt不支持使用QNetworkAccessManager的本地https支持。

I am performing a https get operation with QNetworkAccessManager. I am hitting SSLErrors at runtime. After researching for a while I was able to get my program running after installing OpenSSL. I required two dlls: libeay32.dll and ssleay32.dll. Is it to say that I cannot perform https "get" operation using QNetworkAccessManager without OpenSSL ?? Doesn't Qt support native https support using QNetworkAccessManager.

谢谢,
De Costo。

Thanks, De Costo.

推荐答案

不得不在以下网站上找到以下dll到我的机器:
http://www.slproweb.com/products/Win32OpenSSL.html

Had to install the following dll's found at the following website to my machine: http://www.slproweb.com/products/Win32OpenSSL.html

加密受到国籍的严密保护。所以,更多信息在:

The encryption is guarded closely by the nationality. So, More info at:

http://developer.qt.nokia.com/faq/answer/how_can_i_add_ssl_support_to_my_qt_application

这篇关于支持使用QNetworkAccessManager的https。在运行时遇到SslErrors的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆