diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-10-24 13:22:49 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-10-24 13:22:49 +0200 |
commit | eedde90ea02f32a6fa3f32b3cafeb0b2614cbd11 (patch) | |
tree | 60784ea96c80521dc962dd6f322b2285d04e7a16 /src | |
parent | ec817aad427b01ae60ff2d25df34a7babf1865fa (diff) |
Use 'cacertfile' configuration.
Diffstat (limited to 'src')
-rw-r--r-- | src/catlfish_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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), |