Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Using SSL for Erlang Distribution

julian.tibble at worc.ox.
Posted: Wed Sep 14, 2005 10:27 am Reply with quote
Guest
Hi,

I'm having trouble with R10B-7 and using SSL for communication between
distributed nodes.

REPRODUCTION STEPS: follow these instructions...

http://erlang.se/doc/doc-5.4.8/lib/ssl-3.0.7/doc/html/ssl_distribution.html

PROBLEM:
The instructions work on R10B-6. On R10B-7, when you get to the step:

$ erl -boot /home/me/ssl/start_ssl -proto_dist inet_ssl -sname ssl_test
Erlang (BEAM) emulator version 5.0 [source]

Eshell V5.0 (abort with ^G)
(ssl_test_at_myhost)1>

The command actually produces no output and just hangs. Using "top"
shows that beam is using no CPU time, so it is perhaps some kind
of deadlock, rather than livelock. Hitting CTRL-C brings up the

BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
(v)ersion (k)ill (D)b-tables (d)istribution

menu ok.

Thanks for any help you can offer,
Julian


Post generated using Mail2Forum (http://m2f.sourceforge.net)
julian.tibble at worc.ox.
Posted: Wed Sep 14, 2005 9:50 pm Reply with quote
Guest
> PROBLEM:
> The instructions work on R10B-6. On R10B-7, when you get to the step:
>
> $ erl -boot /home/me/ssl/start_ssl -proto_dist inet_ssl -sname ssl_test
> Erlang (BEAM) emulator version 5.0 [source]
>
> Eshell V5.0 (abort with ^G)
> (ssl_test_at_myhost)1>

Oops.

My apologies, it's not that command that causes the hang (although it
does crash out because SSL has not been provided with any certificates,
so the docs need updating).

The command that hangs is the next in the webpage:

$ erl -boot /home/me/ssl/start_ssl -proto_dist inet_ssl
-ssl_dist_opt client_certfile "/home/me/ssl/erlclient.pem"
-ssl_dist_opt server_certfile "/home/me/ssl/erlserver.pem"
-ssl_dist_opt verify 1 depth 1
-sname ssl_test

Again, my apologies,
Julian


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum