Fix issue #1492 - add 'node.ssl_dist_optfile' to support ssl distributation
This commit is contained in:
parent
06b8db1967
commit
79902be40e
|
@ -236,10 +236,18 @@ node.crash_dump = {{ platform_log_dir }}/crash.dump
|
||||||
## Value: Enum
|
## Value: Enum
|
||||||
## - inet_tcp: the default; handles TCP streams with IPv4 addressing.
|
## - inet_tcp: the default; handles TCP streams with IPv4 addressing.
|
||||||
## - inet6_tcp: handles TCP with IPv6 addressing.
|
## - inet6_tcp: handles TCP with IPv6 addressing.
|
||||||
|
## - inet_ssl: using SSL for Erlang Distribution.
|
||||||
##
|
##
|
||||||
## vm.args: -proto_dist inet_tcp
|
## vm.args: -proto_dist inet_tcp
|
||||||
node.proto_dist = inet_tcp
|
node.proto_dist = inet_tcp
|
||||||
|
|
||||||
|
## Specify SSL Options in the file if using SSL for Erlang Distribution.
|
||||||
|
##
|
||||||
|
## Value: File
|
||||||
|
##
|
||||||
|
## vm.args: -ssl_dist_optfile <File>
|
||||||
|
node.ssl_dist_optfile = {{ platform_etc_dir }}/ssl_dist.conf
|
||||||
|
|
||||||
## Sets the net_kernel tick time. TickTime is specified in seconds.
|
## Sets the net_kernel tick time. TickTime is specified in seconds.
|
||||||
## Notice that all communicating nodes are to have the same TickTime
|
## Notice that all communicating nodes are to have the same TickTime
|
||||||
## value specified.
|
## value specified.
|
||||||
|
|
|
@ -170,7 +170,15 @@ end}.
|
||||||
|
|
||||||
%% @doc The erlang distributed protocol
|
%% @doc The erlang distributed protocol
|
||||||
{mapping, "node.proto_dist", "vm_args.-proto_dist", [
|
{mapping, "node.proto_dist", "vm_args.-proto_dist", [
|
||||||
%%{default, "inet_tcp"}
|
{default, "inet_tcp"},
|
||||||
|
{datatype, {enum, [inet_tcp, inet6_tcp, inet_ssl]}},
|
||||||
|
hidden
|
||||||
|
]}.
|
||||||
|
|
||||||
|
%% @doc Specify SSL Options in the file if using SSL for erlang distribution
|
||||||
|
{mapping, "node.ssl_dist_optfile", "vm_args.-ssl_dist_optfile", [
|
||||||
|
{datatype, string},
|
||||||
|
hidden
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
%% @doc Secret cookie for distributed erlang node
|
%% @doc Secret cookie for distributed erlang node
|
||||||
|
|
Loading…
Reference in New Issue