From eedde90ea02f32a6fa3f32b3cafeb0b2614cbd11 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 24 Oct 2014 13:22:49 +0200 Subject: Use 'cacertfile' configuration. --- src/catlfish_sup.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/catlfish_sup.erl b/src/catlfish_sup.erl index e8f2de9..143e601 100644 --- a/src/catlfish_sup.erl +++ b/src/catlfish_sup.erl @@ -11,7 +11,8 @@ start_link(_Args) -> init([]) -> SSLOptions = [{certfile, application:get_env(catlfish, https_certfile, none)}, - {keyfile, application:get_env(catlfish, https_keyfile, none)}], + {keyfile, application:get_env(catlfish, https_keyfile, none)}, + {cacertfile, application:get_env(catlfish, https_cacertfile, none)}], Servers = lists:map(fun (Config) -> {IpAddress, Port, Module} = Config, {ok, IPv4Address} = inet:parse_ipv4strict_address(IpAddress), -- cgit v1.1