# How to Secure a Self-Hosted Rancher UI with Traefik, Let's Encrypt, and OAuth Providers

DevFeed: [How to Secure a Self-Hosted Rancher UI with Traefik, Let's Encrypt, and OAuth Providers](<https://devfeed.tech/articles/ssl-traefik-and-oauth-for-rancher-google-github-keycloak-azure-and-more-10572.md>)

Original publisher: [Read original article](<https://technotim.com/posts/host-rancher-securely/>)

Author: Techno Tim

Published: 2020-09-05T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [rancher](<https://devfeed.tech/topics/rancher.md>), [traefik](<https://devfeed.tech/topics/traefik.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Homelab](<https://devfeed.tech/topics/homelab.md>), [SSL](<https://devfeed.tech/topics/ssl.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [guide](<https://devfeed.tech/tags/guide.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [rancher](<https://devfeed.tech/tags/rancher.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [traefik](<https://devfeed.tech/tags/traefik.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This step-by-step tutorial explains how to self-host a Rancher UI in a homelab, place it behind Traefik, obtain SSL certificates with Let's Encrypt, make the UI publicly available, and configure third-party OAuth providers for additional authentication features.

## Source excerpt

Do you want to self host your Rancher UI securely in your homelab? Have you thought about putting your Rancher UI behind Traefik and your reverse proxy to get free SSL certificates using Let's Encrypt? Do you want to make your Rancher UI available publicly and secure it using 3rd party OAuth providers like Google, GitHub, Keycloak, Okta, Shibboleth, and more? Well this is the guide for you.In...