# Single Node - Letsencrypt - Auto Renew

**URL:** <https://forums.suse.com/t/single-node-letsencrypt-auto-renew/37843>\
**Category:** SUSE Rancher Prime\
**Created:** [May 9, 2022, 11:39am UTC](https://forums.suse.com/t/single-node-letsencrypt-auto-renew/37843 "2022-05-09T11:39:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnnyx1](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Johnnyx1](https://forums.suse.com/u/Johnnyx1)\
**Post date:** [May 9, 2022, 11:39am UTC](https://forums.suse.com/t/single-node-letsencrypt-auto-renew/37843/1 "2022-05-09T11:39:58Z")

</div>

Hello,

just started Rancher with this command for a single node installation:  
docker run -d --restart=unless-stopped  
-p 80:80 -p 443:443  
–privileged  
rancher/rancher:latest  
–acme-domain \<YOUR.DNS.NAME\>

The letsencrypt cert is now valid for 3 months.

Is there a way to renew the cert automatically oder do i have to stop the process and start again?  
Thanks for advice.

---

<div class="post-metadata">

**Author:** ![mattmattox](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/mattmattox/32/5503_2.png) [@mattmattox](https://forums.suse.com/u/mattmattox)\
**Post date:** [May 9, 2022, 12:06pm UTC](https://forums.suse.com/t/single-node-letsencrypt-auto-renew/37843/2 "2022-05-09T12:06:50Z")

</div>

With both single node and HA Rancher, cert-manager takes care of renewing the cert 30 days before it expires.

Important note: Single node Rancher is not designed/recommended for Production use.

> **[Installing Rancher on a Single Node Using Docker](https://rancher.com/docs/rancher/v2.6/en/installation/other-installation-methods/single-node-docker/#option-d-let-s-encrypt-certificate)**
>
> For development and testing environments only, use a Docker install. Install Docker on a single Linux host, and deploy Rancher with a single Docker container.

---

<div class="post-metadata">

**Author:** ![Johnnyx1](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Johnnyx1](https://forums.suse.com/u/Johnnyx1)\
**Post date:** [May 23, 2022, 9:54am UTC](https://forums.suse.com/t/single-node-letsencrypt-auto-renew/37843/4 "2022-05-23T09:54:08Z")

</div>

Do i have to install cert-manager and deploy a config or is it enough to install cert-manager?
