Support #2148
closedRunning Examples Fails: "SSLEAY32.dll missing"
0%
Description
Attempting to run many of the example programs - such as 'auth2.wt' - fails with this message:
The program can't start because SSLEAY32.dll is missing from your
computer. Try reinstalling the program to fix this problem.
Shouldn't this be able to run with ssleay32WDd.lib, which I have present on my machine?
Updated by Bud T over 11 years ago
If I link to this ssleay32.dll file as installed in the openssl installation, I get a failed build:
...
2>ManifestResourceCompile:
2> All outputs are up-to-date.
2>C:\OpenSSL-Win32\bin\ssleay32.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B0
2>
2>Build FAILED.
...
Updated by Wim Dumon over 11 years ago
- Status changed from New to Feedback
If the .dll is in the proper path on your system (and this is complex, refer to documentation on msdn), then the OS should find it when you start your wt executable. Most simple thing is to put the dll in the same directory as the exe file, or to put the DLL in a directory in your PATH environment variable.
I do not know 'ManifestResourceCompile' or what it tries to do, so I cannot comment on that error.
BR,
Wim.
Updated by Bud T over 11 years ago
Yes, problem solved. I added the following in the VisualStudio Project Properties >> Configuration Properties >> Debugging >> Environment field:
PATH=C:\OpenSSL-Win32\bin
Which is the location of ssleay32.dll
Updated by Bud T over 11 years ago
The build no longer fails but the browser doesn't render anything: just returns this message which is same regardless of example being run.
No data received
Reload Less
Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE
I'm using these command arguments:
--https-address=0.0.0.0 --https-port=8080 --deploy-path=/hello --docroot=. --ssl-certificate=C:\OpenSSL-Win32\bin\server.pem --ssl-private-key=C:\OpenSSL-Win32\bin\server.pem --ssl-tmp-dh=C:\OpenSSL-Win32\bin\dh512.pem
Updated by Bud T over 11 years ago
Yeah, one needs to specify https:// when using ssl. Without that no data gets transferred.