Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not load SSL library
#2
(08-23-2018, 08:06 PM)mail@hvdboogaard.nl Wrote: I have put the dll’s in ... windows/system32, and windows/SysWow64

DO NOT do that (especially the System32 folder on a 64bit Windows, as 32-bit DLLs do not belong in that folder!  Non-system DLLs should not be placed in any system folder to begin with).

If the DLLs are not in a folder that is in the system search path, you can use Indy's IdSSLOpenSSLHeaders.IdOpenSSLSetLibPath() function at runtime to specify the folder path where they are located.

(08-23-2018, 08:06 PM)mail@hvdboogaard.nl Wrote:
Code:
LHandler.SSLOptions.Mode := sslmBoth;

That should be set to sslmClient instead, or left as sslmUnassigned.

(08-23-2018, 08:06 PM)mail@hvdboogaard.nl Wrote:
Code:
UserSession.XMLDoc1.SaveToStream(Strm);
IWMemo1.Lines.Add(IdHTTP1.Post(UserSession.nxT_Algpar.FieldByName('IDeal_Site_URL').AsString, Strm));

You should reset the Strm.Position property back to 0 before posting.

(08-23-2018, 08:06 PM)mail@hvdboogaard.nl Wrote: When I run the prog as SA all goes well.
When I run it as a ISAPI dll under Abyss or IIS I get an error:
EIdOSSLCouldNotLoadSSLLibrary
Could not load SSL library.

That usually means either:

- Indy could not load the DLLs because Windows could not find them.

- Windows loaded a different version of the DLLs found on the system search path, instead of loading your DLLs, and those other DLLs do not export functions that Indy requires.

What does Indy's IdSSLOpenSSLHeaders.WhichFailedToLoad() function report after that error occurs?

Reply


Messages In This Thread
RE: Could not load SSL library - by rlebeau - 08-23-2018, 10:47 PM
RE: Could not load SSL library - by rlebeau - 08-24-2018, 09:36 PM
RE: Could not load SSL library - by rlebeau - 08-24-2018, 10:47 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)