<p>I have a Rancher running inside a Kubernetes cluster. It is installed using helm chart. The Rancher web UI is exposed using an ingress.</p>
<p>There is a DNS record for this ingress in an external DNS: rancher.myexample.com (this is just en example! DNS name)</p>
<p>I have a wildcard TLS certificate that covers *.myexample.com</p>
<p>How to use this TLS certificate for Rancher exposed via ingress?</p>

Michael Chudinov
<p>You can add the certificate from  Resources &gt; Secrets &gt; Certificates. Click Add Certificate.</p>
<p>You can check same path based on the version of the rancher you are using.</p>
<p>Read more at : <a href="https://rancher.com/docs/rancher/v2.5/en/k8s-in-rancher/certificates/" rel="nofollow noreferrer">https://rancher.com/docs/rancher/v2.5/en/k8s-in-rancher/certificates/</a></p>
<p><strong>Option : 2</strong></p>
<p>Create secret with the certificate details, and attach cert to ingress.</p>
<p>Setting default certificate of the Nginx ingress : <a href="https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/#configuring-an-nginx-default-certificate" rel="nofollow noreferrer">https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/#configuring-an-nginx-default-certificate</a></p>
