[erlang-questions] SSL/TLS distribution
Tue Dec 10 12:31:11 CET 2013
2013/12/10 Mikhail Igonin <>
> Hello Ingela!
> Yes, of course. When i disable SSL -- everything is working correctly.
Well, that is not what I meant, the question is can you start an ssl
connection with your certs without running the erlang distribution?
Regards Ingela Erlang/OTP team - Ericsson AB
> With best regards,
> Вторник, 10 декабря 2013, 11:21 +01:00 от Ingela Andin <
> >Have you verified that you can perform the ssl handshake with your input
> options running just normally
> >without the distribution?
> >Regards Ingela Erlang/OTP team Ericsson AB
> >2013/12/9 Игонин Михаил < >
> >>I already asked this question in Basho/node_package/riak, but received
> no clear answer. Someone may be encountered such a problem?
> >>I'm using rebar to build my application, and node_package to create
> >>Then i define an environment variables in the file vm.ags as described
> http://www.erlang.org/doc/apps/ssl/ssl_distribution.html :
> >>-proto_dist inet_tls
> >>-ssl_dist_opt client_certfile "/var/lib/myapp/cert.pem"
> >>-ssl_dist_opt server_certfile "/var/lib/myapp/cert.pem"
> >>-ssl_dist_opt server_secure_renegotiate true
> >>-ssl_dist_opt client_secure_renegotiate true
> >>And then run:
> >>[ bin]# myapp start
> >>!!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
> >>myapp failed to start within 15 seconds,
> >>see the output of 'myapp console' for more information.
> >>If you want to wait longer, set the environment variable
> >>WAIT_FOR_ERLANG to the number of seconds to wait.
> >>In the result I get:
> >>1. The console log -- all well, as if the node is started correctly.
> >>2. The error log is empty.
> >>3. The 'ps eax | grep beam.smp' command -- shows, that the Erlang
> virtual machine is running (!).
> >>4. But:
> >>* Command 'start' -- hangs
> >>* 'ping' is not work
> >>* The node cannot be stopped, because the 'stop' command does not work
> >>* I can't connect to the node through 'attach'/'attach-direct' for the
> same reason
> >>* Even 'getpid' says that the node is not running....
> >>What could be the problem?
> >>(Erlang R16B01, RHEL6.3 )
> >>erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions