# Rancher 2.xdocker install single node

**URL:** <https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120>\
**Category:** SUSE Rancher Prime\
**Created:** [April 21, 2021, 12:09pm UTC](https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120 "2021-04-21T12:09:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jricher](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jricher](https://forums.suse.com/u/jricher)\
**Post date:** [April 21, 2021, 12:09pm UTC](https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120/1 "2021-04-21T12:09:21Z")

</div>

Hi there, I have a Rancher single node install on top of an Ubuntu VM (18.04) thats currently managing clusters and i’m wanting to add my own privately signed ssl certificates.

I’ve tried following the instructions here as well as creating a backup of the existing container to avoid data loss - [Single Node Install](https://www.rancher.co.jp/docs/rancher/v2.x/en/installation/single-node/).

i’m trying to do this as follows:

docker run -d --volumes-from rancher-data-20-4-21   
–restart=unless-stopped   
-p 80:80 -p 443:443   
-v /home/k8s/Projects/rancher/rancher.pem:/etc/rancher/ssl/cert.pem   
-v /home/k8s/Projects/rancher/rancher.key:/etc/rancher/ssl/key.pem   
-v /home/k8s/Projects/rancher/cacerts.pem:/etc/rancher/ssl/cacerts.pem   
–privileged   
rancher/rancher:latest

However, when I spin up the rancher container again I encounter lots of TLS handshake errors with the managed clusters which in turn I lose access to. I’m suspecting its an issue with the cattle agents but i’m not sure how I implement a fix for that.

I’m aware this isn’t the recommended way to deploy and manage clusters but is there anyone who can assist with this? Thank you.

---

<div class="post-metadata">

**Author:** ![jricher](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jricher](https://forums.suse.com/u/jricher)\
**Post date:** [April 21, 2021, 12:11pm UTC](https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120/2 "2021-04-21T12:11:42Z")

</div>

Update, i’ve noticed within the settings my Rancher container is using the default cacerts it was spun up with. I’ve tried to update this using the following to no avail (with /home/k8s/Projects/rancher/certs containing the private ca cert bundle):

docker run -d   
–restart=unless-stopped   
-p 80:80 -p 443:443   
-v /home/k8s/Projects/rancher/certs:/container/certs   
-e SSL\_CERT\_DIR="/container/certs"   
–privileged   
rancher/rancher:latest

---

<div class="post-metadata">

**Author:** ![jricher](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jricher](https://forums.suse.com/u/jricher)\
**Post date:** [June 18, 2021, 11:47am UTC](https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120/3 "2021-06-18T11:47:58Z")

</div>

Still experiencing issues… can anyone please advise?

---

<div class="post-metadata">

**Author:** ![superseb](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/superseb/32/2424_2.png) [@superseb](https://forums.suse.com/u/superseb)\
**Post date:** [June 18, 2021, 3:45pm UTC](https://forums.suse.com/t/rancher-2-xdocker-install-single-node/20120/4 "2021-06-18T15:45:22Z")

</div>

If you are changing certificates, you have to follow [Rancher Docs: Updating a Private CA Certificate](https://rancher.com/docs/rancher/v2.x/en/installation/resources/update-ca-cert/) or other solutions in [https://github.com/rancher/rancher/issues/14731](https://github.com/rancher/rancher/issues/14731)
