Indy “Failed to load SSL library” using Delphi 2007 / Apache

I know this question has been asked several times. I seem to have another problem. In my situation, after the exception is initially selected, it works fine (and no, I did not disable the exception). So what I did is an exception, which I am simply retelling:

IdHTTP1.Post (.......

I placed libeay32.dll and ssleay32.dll both in the Apache bin directory and in the directory where my ISLI library is located.

Anyone have any suggestions?

+3
source share
2 answers

For Indy, you need a special build of the OpenSSL libraries. The standard OpenSSL libraries are not suitable for use with Indy.

See also . You may need to try different versions until you find a suitable option.

+2
source

This error means that the TIdSSLIOHandlerSocketOpenSSL.PassThrough property TIdSSLIOHandlerSocketOpenSSL.PassThrough set to False (which happens when sending to the HTTPS URL) before TIdSSLIOHandlerSocketOpenSSL.Init() was called to configure the SSL context first.

Sounds like a mistake. The next time you get an error, can you grab a stack trace?

+3
source

All Articles