[erlang-questions] Upgrading tcp connection to ssl (tls)

Toby Thain <>
Thu Aug 16 16:34:06 CEST 2007


On 16-Aug-07, at 11:09 AM, Christian S wrote:

> It seems like the ssl module doesnt support taking over a tcp
> connection and bootstrapping ssl/tls on it?
>
> I recall having seen this issue on the list once, but i cant find
> anything when searching for it.
>
> Is there any work on the ssl module, or undocumented features for  
> this?
>
> ejabberd use their own tls driver to communicate with openssl which
> seem to have support for promoting tcp to tls.  i guess this is time
> tested code that works well,
>
> another idea i had was to just connect back to a ssl port on the same
> machine and  relay the tcp traffic there? or doesnt this work? i have
> very little knowledge about the protocol in ssl/tls

Does this help at all?
http://telegraphics.com.au/svn/essltest/trunk/essltest.erl

--Toby

> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list