Hello,
I use registerd Intraweb 14.2.8 Ultimate and Indy 10.6.2.5366 Delphi 10.2.3
And openssl-1.0.2o-i386-win32.zip from Fulgan
I have put the dll’s in the same map as the program dll (and in windows/system32, and windows/SysWow64 for trying)
The prog is 32 bit
Snippet from program:
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.
Who knows what is wrong?
I use registerd Intraweb 14.2.8 Ultimate and Indy 10.6.2.5366 Delphi 10.2.3
And openssl-1.0.2o-i386-win32.zip from Fulgan
I have put the dll’s in the same map as the program dll (and in windows/system32, and windows/SysWow64 for trying)
The prog is 32 bit
Snippet from program:
Code:
try
try
Strm := TStringStream.Create;
IdHTTP1 := TIdHTTP.Create(nil);
LHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
LHandler.SSLOptions.certfile := certfile;
LHandler.SSLOptions.keyfile := keyfile;
LHandler.SSLOptions.Method := sslvTLSv1_2; // sslvSSLv23;
LHandler.SSLOptions.Mode := sslmBoth;
LHandler.SSLOptions.VerifyMode := [];
LHandler.SSLOptions.VerifyDepth := 0;
IdHTTP1.IOHandler := LHandler;
// alleen voor debug anders regel hieronder: Strm.LoadFromFile(UserSession.Exportfilenaam);
UserSession.XMLDoc1.SaveToStream(Strm);
IdHTTP1.Request.ContentType := 'text/xml';
IWMemo1.Lines.Add(IdHTTP1.Post(UserSession.nxT_Algpar.FieldByName('IDeal_Site_URL').AsString, Strm));
finally
Strm.Free;
LHandler.Free;
IdHTTP1.Free;
end;
except
on E: Exception do
begin
IWMemo1.Lines.Add(E.ClassName);
IWMemo1.Lines.Add(E.Message);
// Writeln(E.ClassName, ': ', E.Message);
end;
end;
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.
Who knows what is wrong?