# How to properly add CA to Discourse SSL forum?

**URL:** <https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064>\
**Category:** Support\
**Created:** [2015年十一月26日 17:24 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064 "2015-11-26T17:24:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![felirami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felirami/32/122083_2.png) [@felirami](https://meta.discourse.org/u/felirami)\
**Post date:** [2015年十一月26日 17:24 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064/1 "2015-11-26T17:24:14Z")

</div>

Hello guys,

I’m setting up the SSL on Discourse, I’ve [letsencrypt.org](http://letsencrypt.org) SSL but cannot find the way to add the CA cert into the forum, I’ve read the SSL guide but still is a little confusing, if someone could help me, I’ll greatly appretiate it.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![felirami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felirami/32/122083_2.png) [@felirami](https://meta.discourse.org/u/felirami)\
**Post date:** [2015年十一月26日 17:43 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064/2 "2015-11-26T17:43:49Z")

</div>

The thing is, I’m getting this error on Firefox, but works fine on Google Chrome (pretty weird)

> error sec\_error\_unknown\_issuer

Will keep looking at it, you can see it yourself at [https://osok.org](https://osok.org)

Edit: It seems like I had a mess, had the ssl.crt with the main cert and TWO chain cert (CA Authority), after updating the file the server didn’t repaired, tried rebooting the server and it worked perfectly. In the main SSL tutorial there seems to be a problem, because it say to add two chain certs to the ssl.crt file, why is that?

---

<div class="post-metadata">

**Author:** ![orangepeel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/orangepeel/32/46244_2.png) [@orangepeel](https://meta.discourse.org/u/orangepeel)\
**Post date:** [2015年十一月26日 19:19 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064/3 "2015-11-26T19:19:08Z")

</div>

Setting up SSL is tricky. Try this guide: [http://leland.me/https-discourse/](http://leland.me/https-discourse/)

---

<div class="post-metadata">

**Author:** ![felirami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felirami/32/122083_2.png) [@felirami](https://meta.discourse.org/u/felirami)\
**Post date:** [2015年十一月26日 19:30 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064/4 "2015-11-26T19:30:37Z")

</div>

That is a very complete guide, I hope it helps some guy struggling like I did, thanks orangepeel 😃

---

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [2015年十一月26日 22:14 UTC](https://meta.discourse.org/t/how-to-properly-add-ca-to-discourse-ssl-forum/36064/5 "2015-11-26T22:14:12Z")

</div>


