Indy “Could not load SSL Library” with Delphi 2007

2019-02-24 06:01发布

I know this question has been asked a number of times. I seem to have a bit of a different problem. In my situation after the exception is thrown initially it works fine (and no; I did not turn off exceptions). So what I have done is on the exception I simply repost:

IdHTTP1.Post(.......

I have put the libeay32.dll and ssleay32.dll both in the Apache bin directory and the directory where my ISAPI dll resides.

Anyone have any suggestions?

2条回答
▲ chillily
2楼-- · 2019-02-24 06:51

For Indy you need a special build of OpenSSL libraries. The default OpenSSL libraries are not suitable for using with Indy.

See also. May be you need to try different versions, until you'll find a suitable one.

查看更多
啃猪蹄的小仙女
3楼-- · 2019-02-24 07:03

That error means that the TIdSSLIOHandlerSocketOpenSSL.PassThrough property is being set to False (which would happen when posting to an HTTPS URL) before TIdSSLIOHandlerSocketOpenSSL.Init() has been called to intialize the SSL context first.

Sounds like a bug. Next time you get the error, can you grab the stack trace?

查看更多
登录 后发表回答