问题
When using Delphi 2007 along with Indy 9, what are the latest OpenSSL libraries that can be loaded and where are they available?
回答1:
You need the following two DLLs:
- libeay32.dll
- ssleay32.dll
You can download the source from the open-source organization OpenSSL.org, but then you have to compile the DLLs yourself. Indy maintains a site of compiled binaries for each version of Indy and OpenSSL (see indy.fulgan.com/SSL and indy.fulgan.com/SSL/Archive -- thanks to TLama for the links).
Older versions of Indy are not compatible with the OpenSSL libraries (see Indy "Could not load SSL Library" with Delphi 2007/Apache). TLama added a comment to your question to look at an Embarcadero discussion about this. In that discussion, Remy said "try the old 0.9.6 DLLs at http://indy.fulgan.com/SSL/Archive/". That's probably the version that you will need to use.
回答2:
This worked for me! I am working in Delphi 5 with Indy 9 and struggled to find the right DLLs, I downloaded http://indy.fulgan.com/SSL/Archive/indy_OpenSSL096m.zip and put both DLLs in my program dir and c:\Windows\System32. Thank you James L and Remy "Gambit" Lebeau, you awesome X-man.
来源:https://stackoverflow.com/questions/12057254/indy-9-delphi-2007-latest-ssl-libraries-available