Skip to content

Node package + cuttlefish + inet_tls erlang distribution [JIRA: TOOLS-136] #187

@marksteele

Description

@marksteele

I'd be nice if we can get an official solution to integrating inet_tls erlang distribution using node_package and cuttlefish out of the box.

For example, if I create a schema for cuttlefish with something like:

%% @doc Erlang distribution protocol
{mapping, "erlang.dist.protocol","vm_args.-proto_dist",[
  {default, "inet_tls"}
 ]}.

%% @doc Erlang SSL distribution protocol server certificate
{mapping, "erlang.dist.ssl.server.cert","vm_args.-ssl_dist_op server_certfile",[
   {datatype, file},
   {default, "$(platform_etc_dir)/cert.pem"}
 ]}.

%% @doc Erlang SSL distribution protocol server key
{mapping, "erlang.dist.ssl.server.key","vm_args.-ssl_dist_op server_keyfile",[
   {datatype, file},
   {default, "$(platform_etc_dir)/key.pem"}
 ]}.

...

And so on...

I believe the erlang node boots up properly, however nodetool is borked as it's unaware of the SSL settings. I do believe some folks have managed to get this working, wondering if/when those solutions will make their way into the official release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions