Dashboard not showing cert resolvers used in file based config

I have a mix of docker dynamic config and file based dynamic config. Both types are generally working. They are all configured to use the certresolver=leresolver that is defined statically.

In the dashboard, the entries with provider=file do not show the cert resolver:
CertResolverNotReported

In contrast , the entries with provider=docker show the cert resolver correctly:
CertResolverReported

I cannot find any functional problems though.

My file based configs are generally like this:

http:
    # Add the router
    routers:
      launchpad:
        entryPoints:
        - websecure
        middlewares:
        - usersfile
        service: launchpad
        rule: Host(`launchpad.mydomain`)
        tls: 
          certresolver: leresolver
          domains:
          - main: mydomain
            sans:
            - "*.mydomain"
  
    # Add the service
    services:
      launchpad:
        loadBalancer:
          servers:
          - url: http://192.168.1.130:8000/index.html
          passHostHeader: true

Am I missing something here?

regards
Steve

Hello,

TOML is case sensitive.

certresolver -> certResolver

https://docs.traefik.io/v2.2/routing/routers/#certresolver

FYI, labels is case insensitive.

1 Like

Thank you, I now understand.

Because I use the same wildcard certificate with both docker and file providers, the certificate is automatically renewed through one of the docker defined routers - so in my case there was no noticeable functional difference. :slight_smile: