Indy “Could not load SSL Library” with Delphi 2007/Apache

你。 提交于 2019-12-04 04:07:46

问题


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?


回答1:


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.




回答2:


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?



来源:https://stackoverflow.com/questions/952676/indy-could-not-load-ssl-library-with-delphi-2007-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!