# Troubles installing SSL

**URL:** <https://meta.discourse.org/t/troubles-installing-ssl/55413>\
**Category:** Self-hosting\
**Created:** [9 Janeiro , 2017 15:30 UTC](https://meta.discourse.org/t/troubles-installing-ssl/55413 "2017-01-09T15:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [9 Janeiro , 2017 15:30 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.

---

_[View the full topic](https://meta.discourse.org/t/troubles-installing-ssl/55413)._
