How to install SSL certificate in Discourse

Hello!

First, sorry my bad english ^^

I purchased a Comodo SSL Certificate for my domain in Dreamhost, but my Discourse forum is in DigitalOcean. How I can add that SSL Certificate?

Thanks! :smile:

1 Like

Please see Advanced Setup Only: Allowing SSL / HTTPS for your Discourse Docker setup. However, we strongly recommend using Let’s Encrypt instead. It’s free, auto-renews, and works without extra configuration. See Setting up HTTPS support with Let's Encrypt for full details.

5 Likes

Ok, I’ll read what you say, it seems complicated for me.

Thanks!

It is, that’s why we have it listed as “Advanced Setup Only” and recommend Let’s Encrypt.

3 Likes

If you did a standard install, just run discourse-setup again. If you did a one-click install, you’ll need to

cd /var/discourse
./discourse-setup

That’ll pretty much get you a standard install then.

3 Likes