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

Ivan Uemlianin ivan@REDACTED
Mon Jul 14 12:59:28 CEST 2014


Dear All

Might have been a reltool.config issue.

If I add ssl to the startup apps in reltool.config and then repackage, 
the release seems to behave properly.

Thanks/Apologies

Ivan


On 14/07/2014 11:49, Ivan Uemlianin wrote:
> 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/", []}, [], []).
> {error,{failed_connect,
>          [{to_address,{"www.example.org",443}},
>           {inet,[inet],{tls_alert,"certificate unknown"}}]}}
>
> The same code running with my local erl will make the above request
> successfully.
>
> 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
>
> Ivan
>
>
> [1] http://erlang.org/pipermail/erlang-questions/2013-April/073238.html
>
>

-- 
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

                     ivan@REDACTED
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

                         festina lente
============================================================



More information about the erlang-questions mailing list