<div dir="ltr">Hi Frank,<div><br></div><div>I don't remember the exact details, but you should have received a zip file with a set of certificates. This zip file should contain</div><div>1. your certificate (foo_com.crt)</div><div>2. a set of intermediary certificates (intermediate1.crt, intermediate2.crt)</div><div>3. the root certificate (root.crt)</div><div><br></div><div>You will need to concatenate all the intermediaries starting from the last one into what's called a intermediary certificate chain:</div><div> <font face="monospace">cat intermediate2.crt intermediate1.crt > chain.crt</font></div><div><br></div><div>The configuration of cowboy is then done using the `<font face="monospace">certfile</font>` and `<font face="monospace">cacertfile</font>` options, for example:</div><div><font face="monospace"> [</font></div><div><font face="monospace"> {certfile, "foo_com.crt"},</font></div><div><font face="monospace"> {cacertfile, "chain.crt"}</font></div><div><span style="font-family:monospace"> ]</span></div><div><br></div><div>These options are specified in the documentation of the Erlang SSL app (<a href="http://erlang.org/doc/man/ssl.html">http://erlang.org/doc/man/ssl.html</a>)</div><div><br></div><div>Hope this helps,<br></div><div>Ali</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 30, 2016 at 11:24 AM Frank Muller <<a href="mailto:frank.muller.erl@gmail.com">frank.muller.erl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I would like to configure my "<span style="font-family:Helvetica;font-size:12pt" class="gmail_msg">Comodo PositiveSSL" certificates with Cowboy. </span></div><div class="gmail_msg"><font face="Helvetica" class="gmail_msg"><br class="gmail_msg"></font></div><div class="gmail_msg"><font face="Helvetica" class="gmail_msg">So far the self-signed OpenSSL certificates I've generated worked as expected. But I've no idea how to configure the "</font><span style="font-family:Helvetica;font-size:12pt" class="gmail_msg">Comodo" ones. </span><font face="Helvetica" class="gmail_msg"><div class="gmail_msg"><p class="m_1091408658512042674p1 gmail_msg"><span class="m_1091408658512042674s1 gmail_msg"><br class="gmail_msg"></span></p><p class="m_1091408658512042674p1 gmail_msg"><span class="m_1091408658512042674s1 gmail_msg">Can someone point me to a tutorial please? Or help on the setup?</span></p><br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"></div></font><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks in advance.</div><div class="gmail_msg"><br class="gmail_msg"></div><font face="Helvetica" class="gmail_msg">N.B: Comodo provides explanations for Nginx</font>, Apache, etc. But not Cowboy unfortunately :-(</div><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg">Happy new year !!!</div><div class="gmail_msg">/Frank</div></div>
_______________________________________________<br class="gmail_msg">
erlang-questions mailing list<br class="gmail_msg">
<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
</blockquote></div>