rawmind0 / alpine-traefik

This image is the traefik base. It comes from rawmind/alpine-monit.
67 stars 54 forks source link

SSL question #112

Open mkoczorowski opened 6 years ago

mkoczorowski commented 6 years ago

I have a quick question. I have some SSL (crt and key) files which I want to use for one of the domains. I have renamed them to match domain name and put into /opt/traefik/certs folder but traefik does not use it. Is there alabel I have to put on the container or something ? currently I only have traefilk.frontend.rule: Host:...

mkoczorowski commented 6 years ago

can anyone help me with this ?

rawmind0 commented 6 years ago

Hi @mkoczorowski ...

I think on traefik certs are matched by backends host header and ssl certs Common Name or Subject Alternative Name, not file name. Are your backends FQDN matching with your ssl certs CN or SAN??