Error Creating SSL Context - Qt

I recommend this source for OpenSSL Windows binaries. These binaries have no external dependencies and tested with 32-bit and 64-bit Qt5.

Update: OpenSSL 1.0 and 1.1 are not binary- and API-compatible. As of Qt 5.12 (certainly 5.12.4) version 1.1 seems the default OpenSSL backend in Qt, although I hear it can be configured to keep using 1.0. I'm testing this source for Windows OpenSSL 1.1 builds, no problems so far: https://bintray.com/vszakats/generic/openssl


At last, I found the solution. I was downloading dll's from a dll website. You need to take these libraries

- libeay32.dll
- libssl32.dll
- ssleay32.dll

from this website here Win32 OpenSSL v1.0.2 file for 32 bit if you are using MSVC++ compiler

After installation of the above binary, copy the above three dll's in the the directory containing your binary file.

Tags:

C++

Qt

Openssl