[erlang-questions] new ssl vs embedded mode

Doug Fort doug.fort@REDACTED
Mon Dec 14 16:32:28 CET 2009


On Mon, Dec 14, 2009 at 10:17 AM, Dan Gudmundsson <dgud@REDACTED>wrote:

> Hi Doug
>
> On Sat, Dec 12, 2009 at 12:31 AM, Dan Gudmundsson <dgud@REDACTED>
> wrote:
> >> SSL: 995: error:{badmatch,{error,undef}}
> [{ssl_manager,cache_pem_file,1},
> >> {ssl_certificate, file_to_certificats,1},
> >> {ssl_connection,init_certificates,4}, {ssl_connection,ssl_init,2},
> >> {ssl_connection,init,1}, {gen_fsm,init_it,6},
> {proc_lib,init_p_do_apply,3}]
> >>
> >> AFAIK the ssl_manager is not used by new_ssl.
> >
>
> ssl_manager is used by the new ssl, and the call seems correct to me.
>
> Have you remembered to load the public_key application,
> which is required by ssl if new_ssl is used?
>
> aha! That's it! It works fine in embedded mode when I add {public_key,
"0.4"} to the release file. Sorry about the confusion and thanks for your
help.

-- 
Doug Fort, Consulting Programmer
http://www.dougfort.com
Sent from Arlington, VA, United States


More information about the erlang-questions mailing list