# Troubles installing SSL

**URL:** https://meta.discourse.org/t/troubles-installing-ssl/55413
**Category:** Self-hosting
**Created:** [January 9, 2017, 3:30pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413 "2017-01-09T15:30:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Arta\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arta_s/32/537495_2.png) [@Arta\_S](https://meta.discourse.org/u/Arta_S)
#### Post date: [January 9, 2017, 3:30pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/1 "2017-01-09T15:30:14Z")

</div>

Hey guys,

I followed this article:

> [@Allow SSL / HTTPS for your Discourse Docker setup](https://meta.discourse.org/t/allowing-ssl-https-for-your-discourse-docker-setup/13847):
>
> 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](https://meta.discourse.org/t/142537?silent=true) 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.

---

<div class="post-metadata">

### Author: ![Arta\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arta_s/32/537495_2.png) [@Arta\_S](https://meta.discourse.org/u/Arta_S)
#### Post date: [January 9, 2017, 5:17pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/2 "2017-01-09T17:17:09Z")

</div>

This was simpler than what I thought. if anyone got the same problem, let me know.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 9, 2017, 6:11pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/3 "2017-01-09T18:11:20Z")

</div>

> [@Arta\_S](#):
>
> if anyone got the same problem, let me know.

Why don’t you share your solution here with everyone?

---

<div class="post-metadata">

### Author: ![Arta\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arta_s/32/537495_2.png) [@Arta\_S](https://meta.discourse.org/u/Arta_S)
#### Post date: [January 9, 2017, 6:13pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/4 "2017-01-09T18:13:10Z")

</div>

> [@zogstrip](#):
>
> Why don’t you share your solution here with everyone?

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](https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fforums.7host.ir%2Flatest.rss)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 9, 2017, 11:46pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/5 "2017-01-09T23:46:11Z")

</div>

When I access [https://forums.7host.ir/latest.rss](https://forums.7host.ir/latest.rss) directly, my browser confirms it’s OK. Perhaps that site caches feeds for a time?

---

<div class="post-metadata">

### Author: ![Arta\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arta_s/32/537495_2.png) [@Arta\_S](https://meta.discourse.org/u/Arta_S)
#### Post date: [January 10, 2017, 6:19am UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/6 "2017-01-10T06:19:21Z")

</div>

The problem is not with feed, its with the SSL installation. that’s why validator cannot verify the SSL before receiving the feed content.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 30, 2022, 4:07pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/9 "2022-04-30T16:07:13Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 30, 2022, 10:36pm UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413/10 "2022-04-30T22:36:59Z")

</div>


