# Add signed SSL cert to Rancher server

**URL:** <https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800>\
**Category:** SUSE Rancher Prime\
**Created:** [July 15, 2019, 5:45pm UTC](https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800 "2019-07-15T17:45:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtstepan](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jtstepan/32/5083_2.png) [@jtstepan](https://forums.suse.com/u/jtstepan)\
**Post date:** [July 15, 2019, 5:45pm UTC](https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800/1 "2019-07-15T17:45:34Z")

</div>

I re-deployed my Rancher server (2.2.5-rc15) using a signed SSL certificate and my previously managed clusters are now listed as Unavailable. What’s the best way to re-attach these clusters?

Here is the docker run command:  
docker run -d --restart=unless-stopped   
–name rancher-server   
-p 80:80 -p 443:443   
-v /data/rancher/var/lib/rancher:/var/lib/rancher   
-v /data/certs/cert.pem:/etc/rancher/ssl/cert.pem   
-v /data/certs/key.pem:/etc/rancher/ssl/key.pem   
-d   
rancher/rancher:v2.2.5-rc15 --no-cacerts

---

<div class="post-metadata">

**Author:** ![Kingsbro\_Superfly](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kingsbro_superfly/32/6403_2.png) [@Kingsbro\_Superfly](https://forums.suse.com/u/Kingsbro_Superfly)\
**Post date:** [May 22, 2020, 12:34pm UTC](https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800/2 "2020-05-22T12:34:31Z")

</div>

Hi  
Did you solve this ?  
I also have this issue when I change the certificates I loose my clusters.  
//Tomas

---

<div class="post-metadata">

**Author:** ![Troy\_Stepan](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/troy_stepan/32/5408_2.png) [@Troy\_Stepan](https://forums.suse.com/u/Troy_Stepan)\
**Post date:** [May 22, 2020, 6:18pm UTC](https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800/3 "2020-05-22T18:18:11Z")

</div>

Sorry, I don’t we ever solved this when hit this last year.

---

<div class="post-metadata">

**Author:** ![Stefan\_Lasiewski](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/stefan_lasiewski/32/1801_2.png) [@Stefan\_Lasiewski](https://forums.suse.com/u/Stefan_Lasiewski)\
**Post date:** [May 22, 2020, 11:16pm UTC](https://forums.suse.com/t/add-signed-ssl-cert-to-rancher-server/14800/4 "2020-05-22T23:16:38Z")

</div>

@Kingsbro_Superfly You should probably repost your question as a new question since a lot has changed since 2.2. Make sure you include the command that you ran, as well as the output and any errors. Please check the container logs and include any relevant information here.

Note that some operations require the files to be strictly named `tls.crt` and `tls.key`, and using a name like `cert.pem` will fail because the name doesn’t match what’s expected inside the container. I don’t know if that’s the case here, but it did cause problems for me recently (But I run Rancher on top of Kubernetes, not directly from Docker).
