I have a catch-all http-to-https router that has tls=true. Any of my containers that fall under this router don't have the TLS shield icon next to them on the HTTP routers section of the dashboard even though they should be inheriting that setting, correct?
Everything is working just fine. I can access my service, http->https works, etc. I just don't have the sheild icon.
So, you are correct that adding a router to my service container adds the TLS shield icon. But I don't notice any difference in functionality. Thus my question about what that shield icon actually represents.
One thing I noticed is that I don't even have an entrypoint defined on my traefik-base router. Yet, everything is seemingly working.
My goal is to have as few labels as possible on my services. Not for any specific reason. I just don't feel the need to define things when my definitions would be the same as the defaults.
But everything is currently working... I'm under the assumption that because it's named default it's chosen and used and doesn't need to be explicitly called out. Which would be evidenced by the fact that it's working.
I'll be using a container that does https with a self-signed cert. Without explicitly trusting the self-signed cert I'm under the assumption that this will allow it to work.
What does the resolver do then? My cert was generated two days ago when I started traefik up with my above configuration. Shouldn't things either not be working or shouldn't I not have a certificate if that was the case?
The resolver need to be "linked" to router, if you don't do that the resolver do nothing at all.
If you don't trust me, you can validate the behavior like that: stop your Traefik, remove (and backup) the acme.json file, set the caserver to use the LE stagging (to avoid rate limiting during the test) and start Traefik.
I'm really confused as to how this has been working up until now then. Where did my cert come from? My migrated acme.json? Why was that cert being served if I don't have the cert resolver defined on a router?
If you migrated your acme.json with the migration tool, the certificates come from the migration.
because the certificates from the acme.json are added to the "certificates store".
If certificates are available in the "certificates store" and if the domain of the request match the domain of the certificate, the certificate is served.