How to avoid: failed to verify certificate: x509 with external services / vps

There is a lot mixed up in your config.

In your static config traefik.yml you should have global, api, entrypoints, serversTransport and providers.

In you dynamic config file domain.com.yml you should have http and tls.