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

Christian S <>
Thu Aug 16 16:09:18 CEST 2007


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



More information about the erlang-questions mailing list