Type ssl_option() says: {key, Der::binary()} Documentation says: {key, {'RSAPrivateKey'| 'DSAPrivateKey' | 'PrivateKeyInfo', der_encoded()}} I believe the documentation is correct and the code wrong. Please confirm. -- Loïc Hoguin Erlang Cowboy Nine Nines http://ninenines.eu