<div dir="ltr"><div><div>I use this script to create the self-signed certs:<br><br>#!/bin/bash <br>
if [ -a ./priv/ssl/cert.pem -o -a ./priv/ssl/key.pem ]<br>then<br><br>echo<br>echo "priv/ssl/cert.pem and/or priv/ssl/key.pem already exist."<br>echo "Delete priv/ssl/cert.pem or priv/ssl/key.pem to create new ones."<br>
echo<br><br>else<br><br>mkdir -p priv/ssl<br>umask 077 && touch priv/ssl/key.pem priv/ssl/cert.pem<br>openssl genrsa 2048 > priv/ssl/key.pem<br>openssl req -new -x509 -nodes -sha1 -days 3650 -out priv/ssl/cert.pem -key priv/ssl/key.pem < blank<br>
echo<br>echo<br>echo "Done creating cert..."<br>echo<br><br>fi<br><br><br></div>the file "blank" has this text:<br><br>US<br>some-state<br>some-city<br>some-org<br>some-unit<br>some-host<br>some-address<br>
<br><br></div>-wes<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 2:02 AM, Andreas Schultz <span dir="ltr"><<a href="mailto:aschultz@tpip.net" target="_blank">aschultz@tpip.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Wes,<br>
<br>
Chrome tries to validate the issuer and the CRL's for all certificates. When<br>
that fails, it will display an error page that looks much like a connection<br>
problem.<br>
<br>
Does the certificate contain a CRL or OSCP reference? And could you share a<br>
sample certificate that has this problem?<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Andreas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> Somewhere along the line I've started having issues with self-signed certs.<br>
><br>
> On xubuntu I've:<br>
><br>
> recently upgraded chrome and firefox (both having issues)<br>
><br>
> recently upgraded cowboy to master<br>
><br>
> recently upgrade to 16B02 (compiled then installed)<br>
><br>
> I'm having issues accessing sites on https now. I get an error from firefox,<br>
> but try to accept but get a security error. On chrome, it just says it can't<br>
> get to the site. I then tried opera. I have to confirm some boxes on opera,<br>
> but I can finally see the https sites.<br>
><br>
> Anyone else having these issues?<br>
><br>
> I've tried going back to 16B, but still have the issues so I'm not sure if it<br>
> is erlang. I've tried compiling code with 0.8.1 of cowboy with 16B, but<br>
> still have the same issues (where it was working fine before), so I'm not<br>
> sure where the problem is.<br>
><br>
> Thanks,<br>
><br>
> Wes<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
</div></div></blockquote></div><br></div>