An example at http://www.erlang.org/doc/apps/ssl/using_ssl.html 2.2 Setting up connections Minmal example results in error: (server@REDACTED)4> ssl:ssl_accept(Socket). {error, {keyfile,{badmatch,{error,{asn1,{invalid_length,6}}}}}} OTP 17.3