INDY 10.1.5 - 哪些 SSL dll 适用于 Delphi 2006? [英] INDY 10.1.5 - Which SSL dlls work with Delphi 2006?

查看:22
本文介绍了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) 如果我使用 openssl-0.9.8i-i386-win32.zip 中的 SSL dll,则会出现错误:

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

无法加载 SSL 库"

"Could not load SSL library"

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

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

使用 SSL 连接时出错"

"Error connecting with 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 库"

"Could not load SSl Library"

现在我已经研究了这个,并且有很多关于 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 与 Delphi 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 时出错",类似error:00000006:lib(0):func(0):EVP 库" ...

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"和类似错误: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天全站免登陆