Add etc/ssl_dist.conf file to configure SSL distribution

This commit is contained in:
Feng Lee 2018-02-16 18:41:15 +08:00
parent 79902be40e
commit 6c4ec45888
1 changed files with 11 additions and 0 deletions

11
etc/ssl_dist.conf Normal file
View File

@ -0,0 +1,11 @@
%% The options in the {server, Opts} tuple are used when calling ssl:ssl_accept/3,
%% and the options in the {client, Opts} tuple are used when calling ssl:connect/4.
%%
%% More information at: http://erlang.org/doc/apps/ssl/ssl_distribution.html
[{server,
[{certfile, "{{ platform_etc_dir }}/certs/cert.pem"},
{keyfile, "{{ platform_etc_dir }}/certs/key.pem"},
{secure_renegotiate, true},
{depth, 0}]},
{client,
[{secure_renegotiate, true}]}].