[erlang-questions] SSL: "unknown ca"

e@REDACTED e@REDACTED
Sat Jan 31 22:32:14 CET 2015


On 01/31/2015 10:24 PM, PAILLEAU Eric wrote:
> Le 31/01/2015 22:14, e@REDACTED a écrit :
>> {cacertfile, Dir ++ "ca.crt"},
>> {certfile, Dir ++ "server.crt"},
>> {keyfile, Dir ++ "server.key"}
>
> What is Dir ?

Dir = code:priv_dir(online37) ++ "/../../../../etc/ssl/"

and yes this dir is readable:
-r--r--r-- 1 online37 root  887 Jan 31 03:28 ca.crt
-r--r--r-- 1 online37 root 1766 Jan 31 03:28 server.crt
-r-------- 1 online37 root  891 Jan 31 03:28 server.key




More information about the erlang-questions mailing list