Basically I have traefik setup to both act as a local reverse proxy and an endpoint for cloudflare proxy/tunnels. The way I’m handling this is by setting up two different entry points. One is called https-internal which runs on 443 and should use the Let’s Encrypt certificates. The other is called https-external and runs on 444 and should use the manually specified origin certificates. How on earth do I get the entry point on 444 to use a specific cert-store/certificates…
Relevant section from static config…
https-internal:
address: ':443'
asDefault: true
forwardedHeaders:
trustedIPs: *internalIPs
proxyProtocol:
trustedIPs: *internalIPs
http:
tls:
certResolver: cloudflare
domains: &domainList
- main: 'mydomain.net'
https-external:
address: ':444'
asDefault: false
forwardedHeaders:
# Reuse list of Cloudflare Trusted IP's above for HTTPS requests
trustedIPs: *trustedIPs
proxyProtocol:
# Reuse list of Cloudflare Trusted IP's above for HTTPS requests
trustedIPs: *trustedIPs
http3:
advertisedPort: '443'
http:
tls:
domains: *domainList
Section from dynamic config….
tls:
certificates:
- certFile: /origin/origin.pem
keyFile: /origin/origin.key
stores:
- cloudflare-origin
I am basically just trying to use the cert resolver for the https-internal and the cloudflare-origin store for the https-external…
The external just keeps using the Let’s Encrypt. What am I missing here.