# Using letsencrypt inside Discourse

**URL:** <https://meta.discourse.org/t/using-letsencrypt-inside-discourse/112297>\
**Category:** Self-hosting\
**Tags:** letsencrypt\
**Created:** [March 22, 2019, 1:09am UTC](https://meta.discourse.org/t/using-letsencrypt-inside-discourse/112297 "2019-03-22T01:09:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![chagara](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chagara](https://meta.discourse.org/u/chagara)\
**Post date:** [March 22, 2019, 1:09am UTC](https://meta.discourse.org/t/using-letsencrypt-inside-discourse/112297/1 "2019-03-22T01:09:55Z")

</div>

hello,

I’m hosting discourse in digital ocean and added all the DNS records. The site is in [https://forum.jlozadad.io](https://forum.jlozadad.io). After adding the required changes to use letsencrypt and rebuild I get this error after the site completes rebuilding

```plaintext
2019/03/22 01:08:00 [emerg] 10927#10927: PEM_read_bio_X509_AUX("/shared/ssl/forum.jlozadad.io.cer") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)

```

---

_[View the full topic](https://meta.discourse.org/t/using-letsencrypt-inside-discourse/112297)._
