these commands might work:
ssl:setopts(Socket, [{cacertfile, path()},{keyfile, path()},
{password, string()}]).
ssl:renegotiate(Socket).
http://www.erlang.org/doc/man/ssl.html#setopts-2
http://www.erlang.org/doc/man/ssl.html#renegotiate-1
, no?