Arta_S
(Arta)
January 9, 2017, 3:30pm
1
Hey guys,
I followed this article:
This guide is likely out of date as there are now very few reasons not to use the built-in Let’s Encrypt certificate that Just Works. See also:
2023-04-10 @pfaffman says: This is left here mostly for historical purposes.
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 SS…
and installed the certificate for SSL
This is the error I get: nginx: [emerg] SSL_CTX_use_PrivateKey_file(“/shared/ssl/ssl.key”) failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)
Any idea?
My website also doesn’t load at all.
Arta_S
(Arta)
January 9, 2017, 5:17pm
2
This was simpler than what I thought. if anyone got the same problem, let me know.
zogstrip
(Régis Hanol)
January 9, 2017, 6:11pm
3
Why don’t you share your solution here with everyone?
1 Like
Arta_S
(Arta)
January 9, 2017, 6:13pm
4
Well, I was about to update this. Its actually not fixed. The SSL works fine but I am getting an error for RSS.
See this: Feed Validator Results: http://forums.7host.ir/latest.rss
1 Like
pfaffman
(Jay Pfaffman)
January 9, 2017, 11:46pm
5
When I access https://forums.7host.ir/latest.rss directly, my browser confirms it’s OK. Perhaps that site caches feeds for a time?
Arta_S
(Arta)
January 10, 2017, 6:19am
6
The problem is not with feed, its with the SSL installation. that’s why validator cannot verify the SSL before receiving the feed content.