Installing and registering Win32 OpenSSL libraries

My application depends on OpenSSL libraries (via Qt network modules, you cannot compile it in Qt statically due to legal problems)

There this project is Win32 OpenSSL

It seems that all I need to do is copy the two dll libraries in System32 and register them.

copy ssleay32.dll %WINDIR%\System32\ssleay32.dll copy libeay32.dll %WINDIR%\System32\libeay32.dll regsvr32.exe /s %WINDIR%\System32\ssleay32.dll regsvr32.exe /s %WINDIR%\System32\libeay32.dll 

And indeed, it worked on several machines in the office (my application started working with https after the operation). They have a lot of things installed on them, so they can interfere.

However, it does not work on a clean virtual machine under VMWare.

Although, when I install Tortoise SVN under it (which comes with OpenSSL, too), everything gets fine. What is the correct way to install openssl on a system?

Note. The Qt network module has its own list of certificates.

+7
windows installation qt dll openssl
source share
4 answers

Perhaps there are additional dependencies that these two DLLs have for the SVNs installed for you ...

The attempt to use depends on which DLLs the OpenSSL DLL uses, and make sure that they are installed on your clean VMware.

+2
source share

Just put the DLL in the application installation folder. There is nothing to register (and you cannot use regsvr32 anyway, since OpenSSL does not implement ActiveX / COM servers, which is what regsvr32 means).

+3
source share

You most likely depend on libsasl.dll that comes with turtle-svn!

0
source share

You can use Dependency Walker to check which dependency your application has and which ones it could not solve.

http://www.dependencywalker.com/

Just drag the application onto Dependency Walker, and in the left pane you will see all the DLLs that you need to run.

0
source share

All Articles