# Update no longer valid SSL certificate

**URL:** <https://meta.discourse.org/t/update-no-longer-valid-ssl-certificate/158065>\
**Category:** Product Support\
**Created:** [17 juli 2020 om 18:26 UTC](https://meta.discourse.org/t/update-no-longer-valid-ssl-certificate/158065 "2020-07-17T18:26:33Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [18 juli 2020 om 08:13 UTC](https://meta.discourse.org/t/update-no-longer-valid-ssl-certificate/158065/10 "2020-07-18T08:13:53Z")

</div>

Dear @pbies

According to the code:

> <https://github.com/discourse/discourse_docker/blob/2dfb77a35361f5b06bf59648048ed8530c88da57/templates/web.letsencrypt.ssl.template.yml>

```plaintext
 exec:
       cmd:
         - cd /root && git clone --branch 2.8.2 --depth 1 https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh
         - touch /var/spool/cron/crontabs/root
         - install -d -m 0755 -g root -o root $LETSENCRYPT_DIR
         - cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --install --log "${LETSENCRYPT_DIR}/acme.sh.log"
         - cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade

```

Hope this helps… 🙂

---

_[View the full topic](https://meta.discourse.org/t/update-no-longer-valid-ssl-certificate/158065)._
