INDY 10.1.5 - 哪些SSL dll与Delphi 2006配合使用? [英] INDY 10.1.5 - Which SSL dlls work with Delphi 2006?

查看:1120
本文介绍了INDY 10.1.5 - 哪些SSL dll与Delphi 2006配合使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试连接到Google文档(遵循Marco Cantu的优秀REST示例),但是我收到以下SSL错误:

I'm trying to connect to google documents (following Marco Cantu's excellent REST example) but I am getting the following SSL errors:

1)如果我使用SSL dlls from openssl-0.9.8i-i386-win32.zip我收到错误:

1) If I use the SSL dlls from openssl-0.9.8i-i386-win32.zip I get the error:

无法加载SSL库

2)如果我使用indy_OpenSSL096m.zip中的SSL dll,我会收到错误:

2) If I use the SSL dlls from indy_OpenSSL096m.zip I get the error:

与SSL连接时出错

3)如果我使用openssl-0.9.8h-i386-win32-Indy-IntraWebEdition.zip中的SSL dll,我会收到错误:

3) If I use the SSL dlls from openssl-0.9.8h-i386-win32-Indy-IntraWebEdition.zip I get the error:

无法加载SSl库

现在我已经研究过了,有很多关于dll的死链接的建议,包括堆栈溢出的链接。我怀疑我需要找到与我正在使用的INDY版本兼容的SSL dll。

Now I've researched this and there are a lot of recommendations with dead links to dlls about, including links on stack overflow. I suspect I need to find the SSL dlls that are compatible with the version of INDY I am using.

我的问题是,有没有人知道哪些SSL dll是兼容的德尔福2006& INDY 10.1.5?

My question is, does anyone know exactly which SSL dlls are compatible with Delphi 2006 & INDY 10.1.5?

推荐答案

即使升级到INDY 10.2.3,我也遇到了同样的问题,我尝试了每个不同的版本的libeay32.dll和ssleay32.dll文件我可以找到...像马特我总是得到两个错误之一:无法加载SSL库或错误连接SSL的东西像错误:00000006:lib(0):func(0):EVP lib...

I had the same problem even after I upgrading to INDY 10.2.3 and I tryed every different version of the "libeay32.dll" and "ssleay32.dll" files I could find ... Like Matt I always got one of the two errors: "Could not load SSL library" or the "Error connecting with SSL" with something like "error:00000006:lib(0):func(0):EVP lib" ...

当我将TidSSLioHandlerSocketOpenSSL.SSLOptions.Method更改为sslvSSLv23时,我很高兴一切都开始工作了。

I was very happy when I change the TidSSLioHandlerSocketOpenSSL.SSLOptions.Method to sslvSSLv23 and everything started working.

有一个更多的研究,我很快理解,随时我收到错误无法加载SSL库我使用错误的DLL文件版本,随时我得到错误连接SSL与error:00000006:lib(0):func(0):EVP lib我正在使用错误的SSLOptions.Method值。

A bit more research and I quickly understood anytime I got the error "Could not load SSL library" I was using the wrong version of the DLL files and anytime I got the "Error connecting with SSL" with something like "error:00000006:lib(0):func(0):EVP lib" I was using the wrong SSLOptions.Method value.

其他信息:我使用的是Delphi 2006,INDY 10.2.3,而且我在WinXP Pro上运行

Other Info: I'm using Delphi 2006, INDY 10.2.3 and I'm runnin on WinXP Pro

这让我很痛苦,我希望这篇文章会节省一些时间。

This caused me so much pain, I hope this post will save someone some time.

这篇关于INDY 10.1.5 - 哪些SSL dll与Delphi 2006配合使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆