Traefik not using certificate for root domain

OrakMoya

Cadet
Joined
Apr 2, 2023
Messages
4
Hello, I'm pretty new to TrueNAS Scale and I'm trying to setup the homer app from truecharts. I have various other apps running and I'm using Traefik to create automatic subdomains for each.

I managed to figure out how to get Traefik to issue certificates with cert-manager (and have them work by setting the TLS encryption mode to Full on cloudflare), but it only works for subdomains and not for the root domain.

Subdomain:
Screenshot_20230402_135938.png


Root domain:
Screenshot_20230402_140245.png


Screenshot_20230402_140327.png


I changed nothing except the HostName in homer's ingress settings.
 

Trevor68

Contributor
Joined
Oct 15, 2021
Messages
130
I have never configured traefik for anything, it always just works. When you were creating your cert did you create it for both?
as in domain.com and also *.domain.com ?
 

OrakMoya

Cadet
Joined
Apr 2, 2023
Messages
4
Yes I created it for both. I even tried having cert-manager issue automatic certs through that ClusterIssuer field in Ingress settings and traefik still refuses to use the right cert,
 

Trevor68

Contributor
Joined
Oct 15, 2021
Messages
130
Oh ok, I don't use cert manager, best to go ask on the truecharts discord.
 

OrakMoya

Cadet
Joined
Apr 2, 2023
Messages
4
Reverting back to a TrueNAS Scale certificate instead of cert-manager seems to have worked. Not sure why since I installed cert-manager because the TrueNAS Scale certificate didn't work.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
cert-manager is currently only supported for our Enterprise Charts, not our stable or incubator apps/charts.

Feel free to reach out to our support staff on discord if you hit any more snags along the way :)
 
Top