简体   繁体   English

Indy“无法加载SSL库”与Delphi 2007 / Apache

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

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(....... 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. 我已将libeay32.dll和ssleay32.dll都放在Apache bin目录和我的ISAPI dll所在的目录中。

Anyone have any suggestions? 有人有什么建议吗?

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. 该错误意味着TIdSSLIOHandlerSocketOpenSSL.PassThrough属性被设置为False (在发布到HTTPS URL时会发生),然后TIdSSLIOHandlerSocketOpenSSL.Init()以初始化SSL上下文。

Sounds like a bug. 听起来像个臭虫。 Next time you get the error, can you grab the stack trace? 下次出现错误时,您能抓住堆栈跟踪吗?

For Indy you need a special build of OpenSSL libraries. 对于Indy,您需要一个特殊的OpenSSL库。 The default OpenSSL libraries are not suitable for using with Indy. 默认的OpenSSL库不适合与Indy一起使用。

See also . 另见 May be you need to try different versions, until you'll find a suitable one. 可能你需要尝试不同的版本,直到找到合适的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM