 <p>I would suggest to read the following article about SSL sockets in Erang that contains complete code of the SSL echo server and client.</p> <p><a href="http://erlycoder.com/89/erlang-ssl-sockets-example-ssl-echo-server-ssl-client-" rel="nofollow">Erlang SSL sockets example - ssl server &amp; client)</a></p>