From: Cliff Rosson Date: 2013-04-14T07:36:06+09:00 Subject: Re: SSL --047d7b10cc8be5eb6d04da458d07 Content-Type: text/plain; charset=ISO-8859-1 Your control channel can just negotiate with the client. IF both sides agree a new SSL connection can be built. We use this method for my employer in streaming. On Sat, Apr 13, 2013 at 3:29 PM, Cliff Rosson wrote: > From a TCP perspective you will have to make a new connection. New 3 way > handshake and all etc... > > > On Sat, Apr 13, 2013 at 2:55 PM, tamouse mailing lists < > tamouse.lists@gmail.com> wrote: > >> >> On Apr 13, 2013 4:19 AM, "Nokan Emiro" wrote: >> > >> > Hi, >> > >> > I have a client-server application that communicates on a TCP channel. >> > The goal is to "upgrade" the connection at a certain point to SSL, but >> > only after a few messages sent without encryption. >> > >> > Is it somehow possible to use an already existing io object and start an >> > SSL hangshake on it? >> > >> > u. >> > >> >> I don't know whether any of the std lib or gems do such, but SSL/TLS runs >> on top of TCP, so it's technically possible... >> > > > > -- > vizualize.me/cliffrosson > -- vizualize.me/cliffrosson --047d7b10cc8be5eb6d04da458d07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Your control channel can just negotiate with the client. I= F both sides agree a new SSL connection can be built. We use this method fo= r my employer in streaming.


On Sat, Apr 13, 2013 at 3:29 PM, Cliff Rosson <cliff.rosson@gmail.com= > wrote:
From a TCP=A0perspective=A0you will have to make a new con= nection. New 3 way handshake and all etc...


On Sat, Apr 13, = 2013 at 2:55 PM, tamouse mailing lists <tamouse.lists@gmail.com&= gt; wrote:


On Apr 13, 2013 4:19 AM, "Nokan Emiro" <uzleepito@gmail.com> wrote:
>
> Hi,
>
> I have a client-server application that communicates on a TCP channel.=
> The goal is to "upgrade" the connection at a certain point t= o SSL, but
> only after a few messages sent without encryption.
>
> Is it somehow possible to use an already existing io object and start = an
> SSL hangshake on it?
>
> u.
>

I don't know whether any of the std lib or gems do such,= but SSL/TLS runs on top of TCP, so it's technically possible...




--



--
vizualize.me/cliffro= sson
--047d7b10cc8be5eb6d04da458d07--