# Problema con mi certificado SSL

**URL:** <https://meta.discourse.org/t/problem-with-my-ssl-certificate/67299>\
**Category:** Self-hosting\
**Created:** [2 Agosto, 2017 08:49 UTC](https://meta.discourse.org/t/problem-with-my-ssl-certificate/67299 "2017-08-02T08:49:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![craisp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craisp/32/119998_2.png) [@craisp](https://meta.discourse.org/u/craisp)\
**Post date:** [2 Agosto, 2017 08:49 UTC](https://meta.discourse.org/t/problem-with-my-ssl-certificate/67299/1 "2017-08-02T08:49:10Z")

</div>

Hi there

I have an issue with my SSL Setup.

I’m running a discourse app on a linode, DNS records are alright.

Back when I installed the app I followed this howto:

> [@Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709):
>
> bookmark This is a guide for enabling HTTPS on an existing Discourse installation using Let’s Encrypt. It assumes prior installation without HTTPS enabled. person_raising_hand Required user level: System Administrator exclamation This guide is only for existing installs where HTTPS is not enabled. Following the [official setup guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) automatically enables HTTPS by default. So you’d like to add https to your Discourse absolutely free, courtesy of our friends at [Let’s Encrypt?](https://letsencrypt.org/)bell I…

My ssl certificate expired yesterday, and I don’t know why it hadn’t got renewed.  
I tried to rebuild the app, what works without errors, but in the logs I have

```
nginx: [emerg] PEM_read_bio_X509_AUX("/shared/ssl/MYDOMAIN.cer") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)

```

The certificate file is not written correctly:

```
ls -l /var/discourse/shared/standalone/ssl
total 4
-rw-r--r-- 1 root root 0 Aug 2 10:18 MYDOMAIN.cer
-rw-r--r-- 1 root root 3243 Aug 2 10:18 MYDOMAIN.key

```

In the `acme.sh.log` is this line:

```
MYDOMAIN:Verify error:Fetching http://MYDOMAIN/.well-known/acme-challenge/vo77X_i6E6fgkPJ1YwOQijTaE8Uys-5p-O_tn2XYIis: Timeout

```

Any ideas?

---

_[View the full topic](https://meta.discourse.org/t/problem-with-my-ssl-certificate/67299)._
