简体   繁体   English

Delphi 5 Indy / ics SSL解决方法?

[英]Delphi 5 Indy/ics SSL workaround?

I'm getting errors like: 我收到如下错误:

"IndyProtocols5 does not use or support IdSSLOpenSSLHeaders.." “ IndyProtocols5不使用或不支持IdSSLOpenSSLHeaders。

when attempting to install Indy 9 or 10 with my Delphi5 and notice it is a problem for others. 尝试在我的Delphi5上安装Indy 9或10时,请注意这对其他人来说是个问题。 This causes the exception: 这将导致异常:

"Could not load SSL library" “无法加载SSL库”

when using IdHttp.IOHandler. 使用IdHttp.IOHandler时。

The applications I have inherited include so many unsupported D5 components, upgrading to D6+ is unfortunately beyond my skillset. 我继承的应用程序包含许多不受支持的D5组件,不幸的是,升级到D6 +超出了我的技能范围。 I want to initially use Indy for posting and downloading CSV, but potentially calling web services too. 我想最初使用Indy发布和下载CSV,但也可能调用Web服务。

Is there a known workaround for this or should I start looking in to other options like ICS which may still work with D5. 是否有已知的解决方法,或者我应该开始寻找可能仍适用于D5的其他选项(如ICS)?

Thanks 谢谢

All versions of Indy SSL support require the OpenSSL libraries libeay32.dll and ssleay32.dll. 所有Indy SSL支持版本都需要OpenSSL库libeay32.dll和ssleay32.dll。 (http://www.indyproject.org/Sockets/SSL.EN.aspx) (http://www.indyproject.org/Sockets/SSL.EN.aspx)

The older versions of Indy required custom built SSL libraries. Indy的旧版本需要自定义的SSL库。 The older ones should work here: http://indy.fulgan.com/SSL/Archive/ 较旧的应该在这里工作: http : //indy.fulgan.com/SSL/Archive/

I copied his solution for SSLOptions.Method := sslvSSLv23 from INDY 10.1.5 - Which SSL dlls work with Delphi 2006? 我从INDY 10.1.5复制了他的SSLOptions.Method:= sslvSSLv23解决方案-哪些SSL dll与Delphi 2006兼容? and it stops the error. 并停止错误。 This is with the latest Indy9 version. 这是最新的Indy9版本。

I do not know the significance of sslvSSLv23 and still don't know why Indy10 doesn't install but I'll see how I get on with Indy9. 我不知道sslvSSLv23的重要性,但仍然不知道为什么不安装Indy10,但是我将了解如何使用Indy9。

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

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