Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: Indy and SSL Woes

www.cryer.info
Managed Newsgroup Archive

Re: Indy and SSL Woes

Subject:Re: Indy and SSL Woes
Posted by:"Lloyd Kinsella" (lloydkinsel..@gmail.com)
Date:29 Mar 2006 17:02:29

Hmm, how do I do that exactly, I can't seem to see anything?

Remy Lebeau (TeamB) wrote:

>
> "Lloyd Kinsella" <lloydkinsella@gmail.com> wrote in message
> news:442b0d81@newsgroups.borland.com...
>
> > Create a VCL Application and drop a TIdTCPClient and a
> > TIdSSLIOHandlerSocketOpenSSL on the form.
>
> The IOHandler's Passthrough property is initially False by default.
> SSL is enabled only when Passthrough is False.
>
> > Create a VCL Application and drop a TIdCMDTcpServer and a
> > TIdServerIOHandlerSSLOpenSSL on the form.
>
> The Passthrough property for the IOHandler of a new connection on the
> server is set to True by default, not False.  You have to
> programmably set it to False, such as in the server's OnConnect
> event, in order to enable SSL on that connection.
>
> > Now run the server and then the client. What should happen here is
> > the client connects to the server via SSL and everything is fine.
> > However what really happens is when the client attempts to connect
> > the error "Cannot connect with SSL" comes up.
>
> That is because you did not activate SSL on the server side of the
> connection, so the client side fails to negotiate a secure connection.
>
>
> Gambit


--

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive