# Create new Letsencrypt certificate

**URL:** <https://forum.ghost.org/t/create-new-letsencrypt-certificate/10507>\
**Category:** Developer help\
**Created:** [November 28, 2019, 4:30am UTC](https://forum.ghost.org/t/create-new-letsencrypt-certificate/10507 "2019-11-28T04:30:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimonT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/simont/32/2597_2.png) [@SimonT](https://forum.ghost.org/u/SimonT)\
**Post date:** [November 28, 2019, 4:30am UTC](https://forum.ghost.org/t/create-new-letsencrypt-certificate/10507/1 "2019-11-28T04:30:05Z")

</div>

I have a ghost blog on DigitalOcean. For some reason the crontab command to renew the letscrypt certificate stopped working and now my site doesn’t have a SSL certificate as the certificate expired.

When I tried acme command using --renew, it Letsencrypt says my site doesn’t have a certificate with them which I assume is the reason the crontab command isn’t working. Is there an easy way now to create a new letsencrypt certifcate and install it in Ghost?

---

<div class="post-metadata">

**Author:** ![mskian](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mskian/32/4973_2.png) [@mskian](https://forum.ghost.org/u/mskian)\
**Post date:** [November 28, 2019, 6:34am UTC](https://forum.ghost.org/t/create-new-letsencrypt-certificate/10507/2 "2019-11-28T06:34:22Z")

</div>

try this

> [@Let's Encrypt Expiry Bot](https://forum.ghost.org/t/lets-encrypt-expiry-bot/9708/3):
>
> Well I talked to myself in this topic, I update it for someone who may have the same problem. Update acme.sh like this: "/etc/letsencrypt"/acme.sh --upgrade --home "/etc/letsencrypt" Then update the certificates: "/etc/letsencrypt"/acme.sh --cron --home "/etc/letsencrypt" \> /dev/null Certificates should be updated.

---

<div class="post-metadata">

**Author:** ![SimonT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/simont/32/2597_2.png) [@SimonT](https://forum.ghost.org/u/SimonT)\
**Post date:** [November 29, 2019, 1:00am UTC](https://forum.ghost.org/t/create-new-letsencrypt-certificate/10507/3 "2019-11-29T01:00:27Z")

</div>

Thanks, that fixed the problem. Not entirely sure why it worked for a year and then suddenly stopped.
