Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: SSL problems

www.cryer.info
Managed Newsgroup Archive

Re: SSL problems

Subject:Re: SSL problems
Posted by:"API" (ari.pikivir..@kolumbus.fi)
Date:Fri, 5 Oct 2007 20:45:19

Antonis Tsourinakis kirjoitti:
> We use delphi 2007 for win 32 and the Indy components ver
> 10.1.5 (included in Delphi).
> Whenever we try to establish a ssl connection by using the
> tidhttp component with a tidsslopenhandlersocketopenssl
>  iohandler, we get an error, depending on the version of the installed
> ssl dlls, the error is different. with the dlls in the binary
> distribution of openssl.org (version 0.98 and 0.97) the error is
> "could not load ssl library".
> With the version in the developer snapshot from atozed software, the
> error is "cannot connect with ssl", and with the version we had
> already installed from delphi 7 the error is "read timeout".

cannot say for sure but it seems to have something to do with d2007,
because d2006 and d7 does work ok with the openssl.org compiled library.
but the ssl libraries from atozed (if talking about those dated to
somewhere 2002) cannot be used with indy 10 at all.

> Has anyone faced this problem and/or has a solution?

i tested with d2007 too and when trying myself on same computer it
always fails, but on the server logs the clients were able to connect
using ssl - even i wasn't. anyway, as mentioned above already, d2006 it
worked ok on same computer also.

maby re-install d2007 would do, by first not installing indy at all with
the installer and then later on only installing the latest snapshot?
this i haven't tested, but could help anyway.

> We try also to install the developer snapshot but we failed.
> a) in the idglobal.pas it was a definition TthreadId that was
> undefined. We change it to THandle, and we succeeded to compile all
> the bpls but we failed to install the 2 dcl.. bpls because it couldn't
> find some entry points in the ...system.bpl.

Just make TthreadId as Longword then it all compiles ok.

/A

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive