[erlang-questions] Trouble with "SSL certificate chains"

70 views
Skip to first unread message

Zabrane Mickael

unread,
Nov 8, 2012, 10:38:09 AM11/8/12
to erlang-questions Questions
Hi guys,

I'm facing a problem with an intermediate SSL certificate and getting this in Firefox:

XXX.YYYY.com uses an invalid security certificate.

The certificate is not trusted because no issuer chain was provided.

(Error code: sec_error_unknown_issuer)


From what I understood so far, the server certificate must appear before the chained certificates in the combined file:

But it doesn't work if I follow the link above. My Erlang server can't start at all.

How one can use an intermediate certificate in Erlang?
Help very appreciated.

Regards,
Zabrane

Marc Worrell

unread,
Nov 8, 2012, 10:44:30 AM11/8/12
to Zabrane Mickael, erlang-questions Questions
(now also to the list)

You need a separate file with the certificate chain.


And check start_listener/4 to see how a Mochiweb listener is started using the certificates and chains

Finally you can use this tool to check if all is ok:

- Marc


_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Zabrane Mickael

unread,
Nov 8, 2012, 11:32:59 AM11/8/12
to Marc Worrell, erlang-questions Questions
Everything's fine Marc.

Thanks a lot for your help.

Regards
Z.
Reply all
Reply to author
Forward
0 new messages