mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-12 12:16:01 +08:00
12 lines
459 B
Plaintext
12 lines
459 B
Plaintext
%% 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}]}].
|