Nam_Nguyen
(Nam Nguyen)
November 13, 2016, 1:14pm
1
I installed paid SSL, and follow very very careful this article
So you’d like to enable SSL for your Docker-based Discourse setup? Let’s do it!
This guide assumes you used all the standard install defaults – a container configuration file at/var/discourse/containers/app.yml and Discourse docker is installed at: /var/discourse
Buy a SSL Certificate
Go to namecheap or some other SSL cert provider and purchase a SSL cert for your domain. Follow all the step documented by them to generate private key and CSR and finally get your cert. I used the apache defau…
But after I installed, I cannot access to my discourse, I had install and rebuid discouse again, again and again, eventhough, I re-install my VPS I’m really stupid. I forgot that I use Cloudflare DNS.
Cloudflare SSL default is Flexible . >>> then I Turn to Full Strict
Then I can access to my Discourse
I think this small tip that can be useful for a newbie guy with cloudflare, paid ssl, discourse like me, to a avoid simple mistake.
P/s: Sorry, I’m not really good with English
2 Likes
erlend_sh
(Erlend Sogge Heggen)
November 13, 2016, 5:08pm
2
Thanks for sharing! But maybe you could incorporate this in here as another “NOTE” at the bottom?
How to use CloudFlare’s platform to force all traffic over HTTPS connection using page rules.
This is an up to date and user-friendly (fool-proof) way that I use each time and it works perfectly.
Sign up to CloudFlare here - they offer SSL/HTTPS on their Free plan, so that will be just fine for us.
Add your site here - the system will scan for DNS records, make sure all are correct and add any records not picked automatically by the scan i.e. MX records.
You will the have to add the CloudFl…
1 Like
Nam_Nguyen
(Nam Nguyen)
November 13, 2016, 5:36pm
3
I forgot one thing, while setup, use Cloudflare DNS only,
Here is the result I forgot it,
What the hell is Common Name (CN) and Validity is only 6 months.
I don’t know why this is happend?