# Custom Certificate not applied

**URL:** <https://forums.suse.com/t/custom-certificate-not-applied/40068>\
**Category:** SUSE Rancher Prime\
**Created:** [February 16, 2023, 4:28pm UTC](https://forums.suse.com/t/custom-certificate-not-applied/40068 "2023-02-16T16:28:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![serverhack](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@serverhack](https://forums.suse.com/u/serverhack)\
**Post date:** [February 16, 2023, 4:28pm UTC](https://forums.suse.com/t/custom-certificate-not-applied/40068/1 "2023-02-16T16:28:06Z")

</div>

Hi all,

I have installed Rancher 2.7.1 on an existing Kubernetes cluster, following the way to use custom certificates signed by private CA.

When I login to GUI I receive a cert error, the certificate has a CN=dynamic, and, obviously, it’s not the one I have configured. I have created secret/tls-rancher-ingress with my certificate as secret/tls-ca with my private CA. If I extract those objects they match my certificate files.

What am I missing? Why certificate presented to GUI is not the correct custom one?

The only thing I changed is change the rancher service to be a NodePort service, just to access from outside the cluster.

Regards,

Jorge

---

<div class="post-metadata">

**Author:** ![serverhack](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@serverhack](https://forums.suse.com/u/serverhack)\
**Post date:** [February 20, 2023, 11:01am UTC](https://forums.suse.com/t/custom-certificate-not-applied/40068/2 "2023-02-20T11:01:17Z")

</div>

Anybody with same issue or knowing how to resolve it?
