[erlang-questions] reltool/rebar vs. ssl certificates

Ivan Uemlianin ivan@REDACTED
Mon Jul 14 12:49:29 CEST 2014

Dear All (esp. Felix Gallo)

I am seeing almost the same strange problem with ssl certificates as 
this post from last April.

To recap: a rebar-packaged release with ssl running gets a "certificate 
unknown" error when connecting over https:

 > httpc:request(get, {"https://www.example.org/etc/", []}, [], []).
          {inet,[inet],{tls_alert,"certificate unknown"}}]}}

The same code running with my local erl will make the above request 

Different to Felix's situation: running the code using the release's erl 
will make the request successfully too.

In the original thread, Ingela Andin recommened [1] a specific commit to 
OTP R16.  @Felix did that work?  Or did you otherwise fix the problem?

Here, the same erl binary will make the https call successfully on its 
own, but not if running the release.  Could the package configs (eg 
reltool.config) be leaving out something that should be included?

Any pointers appreciated.

With thanks and best wishes


[1] http://erlang.org/pipermail/erlang-questions/2013-April/073238.html

Ivan A. Uemlianin PhD
Speech Technology Research and Development


                         festina lente

More information about the erlang-questions mailing list