# Traefik 3 Wildcard Certificates with Docker, Let's Encrypt, and Cloudflare

DevFeed: [Traefik 3 Wildcard Certificates with Docker, Let's Encrypt, and Cloudflare](<https://devfeed.tech/articles/traefik-3-and-free-wildcard-certificates-with-docker-10674.md>)

Original publisher: [Read original article](<https://technotim.com/posts/traefik-3-docker-certificates/>)

Author: Techno Tim

Published: 2024-04-30T13:00:00Z

Content type: tutorial

Language: en

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

Topics: [traefik](<https://devfeed.tech/topics/traefik.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [Homelab](<https://devfeed.tech/topics/homelab.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [Pi-hole](<https://devfeed.tech/topics/pihole.md>)

Tags: [certificates](<https://devfeed.tech/tags/certificates.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [compose](<https://devfeed.tech/tags/compose.md>), [dns](<https://devfeed.tech/tags/dns.md>), [docker](<https://devfeed.tech/tags/docker.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [traefik](<https://devfeed.tech/tags/traefik.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

A tutorial showing how to configure Traefik 3 in Docker to obtain Let's Encrypt wildcard certificates using Cloudflare DNS, then use local DNS to route internal self-hosted services through those certificates.

## Source excerpt

In today's Traefik tutorial we'll get FREE Wildcard certificates to use in our HomeLab and with all of our internal self-hosted services. We're going to set up Traefik 3 in Docker and get Let's Encrypt certificates using Cloudflare as our DNS Provider (we'll cover how to set up others too). Then we'll configure local DNS using PiHole (or any other local DNS) to route to our services that are ...