From: tamouse mailing lists Date: 2013-04-14T06:55:20+09:00 Subject: Re: SSL --14dae94ed81948d7b804da4513d6 Content-Type: text/plain; charset=UTF-8 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... --14dae94ed81948d7b804da4513d6 Content-Type: text/html; charset=UTF-8


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 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...

--14dae94ed81948d7b804da4513d6--