new here, please be gentle.
I installed Traefik on debian12 and using it inside my lab. the domain is "nelsonlab.local". My Traefik server is 10.0.22.21, the host on the backend is https://10.0.3.2 Traefik has this host as fwhq.nelsonlab.local
Ultimately i want to front end the HTTPS so that I don't get the unsecure tls. I used mkcert and installed the rootCA to my browser pc.
when going to https://fwhq.nelsonlab.local and looking at the cert, it shows signed by Traefik, so good sofar right? although I still get the privacy error and if I accept, i get a 404 page not found.
This is my traefik.yml
providers:
file:
directory: /etc/traefik/conf.d/
watch: true
entryPoints:
web:
address: ':80'
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ':443'
http:
tls:
certResolver: letsencrypt
traefik:
address: ':8080'
certificatesResolvers:
letsencrypt:
acme:
email: "foo@bar.com"
storage: /etc/traefik/ssl/acme.json
tlsChallenge: {}
api:
dashboard: true
insecure: true
log:
filePath: /var/log/traefik/traefik.log
format: json
level: INFO
accessLog:
filePath: /var/log/traefik/traefik-access.log
format: json
filters:
statusCodes:
- "200"
- "400-599"
retryAttempts: true
minDuration: "10ms"
bufferingSize: 0
fields:
headers:
defaultMode: drop
names:
User-Agent: keep
this is my fqhe.yml located inside the /etc/traefik/conf.d folder with root permissions and 644
http:
routers:
fwhq-router:
rule: Host(`fwhq`)
entryPoints:
- websecure
tls:
certificates:
- certFile: "/etc/traefik/certs/fwhq.nelsonlab.local.pem"
keyFile: "/etc/traefik/certs/fwhq.nelsonlab.local-key.pem"
service: fwhq-service
services:
fwhq-service:
loadBalancer:
servers:
- url 'https://10.0.3.2/'
passHostHeader: true
scheme: https
serversTransport: skip-verify
serversTransports:
skip-verify:
insecureSkipVerify: true
i cant seem to figure out why im not getting the page to show properly and without the cert warning?!?