BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TidSSLIOHandlerSocket

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Lennert Weijers
Guest





PostPosted: Wed Nov 19, 2003 7:29 pm    Post subject: TidSSLIOHandlerSocket Reply with quote



Hi all.

I'm busy with a project which requires me to connect with an SSL (Secure
Sockets Layer) server over http. For this purpose, I'm using TidHttp with
IOHandler set as an TidSSLIOHandlerSocket object in the project. Now when I
do a GET with the TidHttp on a normal url it works fine, but when I use a
HTTPS url, I get the following error message:

Could not load SSL library.

Ok. So i went looking into the TidSSLIOHandlerSocket and found out it uses
these DLL's:

SSL_DLL_name = 'ssleay32.dll'; {Do not localize}
SSLCLIB_DLL_name = 'libeay32.dll'; {Do not localize}

Luckily, i found those on the inet some days earlier in an OpenSSL pack when
researching the SSL part of the job. But that's where my problem really
starts, after having placed those dll's about every place which seems
relevant, it keeps on giving the same error. REGSVR32 didn't do much either.
Any idea of help?

Regards,

Lennert





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Nov 19, 2003 8:05 pm    Post subject: Re: TidSSLIOHandlerSocket Reply with quote



"Lennert Weijers" <skintex (AT) hotmail (DOT) com> wrote


Quote:
Could not load SSL library.

Sounds like you do not have Indy's custom version of OpenSSL installed on
the machine.

Quote:
Luckily, i found those on the inet some days earlier in an
OpenSSL pack when researching the SSL part of the job.

Those will not work. Unfortunately, Indy does not use the standardized
version of OpenSSL. It uses a custom version, which can only be obtained
from http://www.indyproject.org/ssl.html. Indy is currently working on
changing the SSL IOHandler to work with the standard OpenSSL version
instead, but it requires some re-writting inside the IOHandler's code, and
some needed functionality is not easily implemented without using custom
DLLs at the moment.

Quote:
But that's where my problem really starts, after having placed those
dll's about every place which seems relevant, it keeps on giving the
same error.

The custom Indy version of OpenSSL exports some additional functions which
Indy looks for. If those functions are not found, which is the case with
the standard version, then the loading will fail.

Quote:
REGSVR32 didn't do much either.

That only applies to COM DLLs, which OpenSSL is not.


Gambit



Back to top
Eugene Mayevski
Guest





PostPosted: Thu Nov 20, 2003 2:01 am    Post subject: Re: TidSSLIOHandlerSocket Reply with quote



Lennert Weijers wrote:

Quote:
Luckily, i found those on the inet some days earlier in an OpenSSL pack when
researching the SSL part of the job. But that's where my problem really
starts, after having placed those dll's about every place which seems
relevant, it keeps on giving the same error. REGSVR32 didn't do much either.
Any idea of help?

You can avoid using external DLLs and save valuable time if you use
SecureBlackbox (http://www.secureblackbox.com/delphi-ssl.html) which
doesn't require any third-party DLLs.

--
Eugene Mayevski
Flexible cross-platform information exchange framework
http://www.msgconnect.com/


Back to top
Lukas Gebauer
Guest





PostPosted: Thu Nov 20, 2003 3:26 pm    Post subject: Re: TidSSLIOHandlerSocket Reply with quote

Eugene Mayevski wrote:
Quote:
Lennert Weijers wrote:

Luckily, i found those on the inet some days earlier in an OpenSSL
pack when
researching the SSL part of the job. But that's where my problem really
starts, after having placed those dll's about every place which seems
relevant, it keeps on giving the same error. REGSVR32 didn't do much
either.
Any idea of help?


You can avoid using external DLLs and save valuable time if you use
SecureBlackbox (http://www.secureblackbox.com/delphi-ssl.html) which
doesn't require any third-party DLLs.


Or when you need FREE solution with standart OpenSSL (not modified as in
Indy), then take a look to Synapse. ;-)

--
Lukas Gebauer.
http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.