# Auto-Renew Dokku Hetzner Ubuntu Issue

**URL:** <https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681>\
**Category:** Help\
**Created:** [July 28, 2021, 4:20pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681 "2021-07-28T16:20:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abstract999](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/abstract999/32/51489_2.png) [@abstract999](https://community.letsencrypt.org/u/abstract999)\
**Post date:** [July 28, 2021, 4:20pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/1 "2021-07-28T16:20:26Z")

</div>

Dear,

do you know why I am not able to auto renew my existing certificate?

Thank you

My domain is:

I ran this command: **dokku letsencrypt:auto-renew app**

It produced this output: **app still has 48d, 4h, 46m, 49s left before renewal**

My web server is (include version): admin.doxat.ba (backend) i.e. doxat.ba

The operating system my web server runs on is (include version): ubuntu

My hosting provider, if applicable, is: Hetzner

I am ussing Dokku on Hetzner Cloud Server on Ubuntu.

---

<div class="post-metadata">

**Author:** ![abstract999](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/abstract999/32/51489_2.png) [@abstract999](https://community.letsencrypt.org/u/abstract999)\
**Post date:** [July 28, 2021, 4:21pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/2 "2021-07-28T16:21:05Z")

</div>

![Screenshot 2021-07-28 at 18.13.31](https://global.discourse-cdn.com/letsencrypt/original/3X/3/c/3c1913aae771f16e4d0d1dbd9eacef987a5fa379.png)

---

<div class="post-metadata">

**Author:** ![Rip](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rip/32/70863_2.png) [@Rip](https://community.letsencrypt.org/u/Rip)\
**Post date:** [July 28, 2021, 4:33pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/3 "2021-07-28T16:33:14Z")

</div>

Hi @abstract999 Welcome to the community!

At first glance this is what I see:

![Screenshot_2021-07-28_09-29-14](https://global.discourse-cdn.com/letsencrypt/original/3X/d/e/de7518e521fa1ab3216871626649c4e8c7981b01.png)

So you are good to go until renewal sometime around September 25, 2021 unless I am missing something or don't understand what you are expecting to see?

Please advise.

---

<div class="post-metadata">

**Author:** ![abstract999](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/abstract999/32/51489_2.png) [@abstract999](https://community.letsencrypt.org/u/abstract999)\
**Post date:** [July 28, 2021, 5:15pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/4 "2021-07-28T17:15:49Z")

</div>

No, I want to auto renew the backend. That what you see is frontend. I want to auto renew backend i.e. admin.doxat.ba

I want that there is configured auto renewal, because I do not have time allways for my client to login with SSH and do it manually.

---

<div class="post-metadata">

**Author:** ![Rip](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rip/32/70863_2.png) [@Rip](https://community.letsencrypt.org/u/Rip)\
**Post date:** [July 28, 2021, 5:41pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/5 "2021-07-28T17:41:56Z")

</div>

OK so according to [crt.sh | admin.doxat.ba](https://crt.sh/?q=admin.doxat.ba)

You have a valid certificate:

ID: 4536300239 Obtained: 2021-05-16 Valid Until: **2021-08-14** for admin.doxat.ba

Logically it _should_ be renewed any time, but will continue to work for you until it _expires_, or you can get it renewed successfully. (I am guessing that is your intent)

The cert you are serving for "admin"... is valid only for strapi.doxat.ba and doesn't include your "backend" 😊

I recommend you use/renew that cert via the method you used to initially obtain it.  
Somehow I don't think that was the answer you are looking for?

EDIT: AUTO RENEW! I am not familiar with dokku or it's auto renew feature(s) Someone else here will have to pick up to help you resolve this. Sorry for the confusion I understand now.

In the meantime this thread might help?

> [@Using letsencrypt with Dokku](https://community.letsencrypt.org/t/using-letsencrypt-with-dokku/2631/2):
>
> I…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [August 27, 2021, 5:42pm UTC](https://community.letsencrypt.org/t/auto-renew-dokku-hetzner-ubuntu-issue/156681/6 "2021-08-27T17:42:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
