Intermediate Certificate not sent breaking Chain

Hi !

I have a setup where I have my own Root CA which issues a Intermediate Certificate which then provides the Leaf (Server) Certificate.

I’m addint then Leaf + Intermediate Certificate in cert.pem and reference it with
certFile: /ssl/cert.pem

in my dynamic config yaml configuration. However when I try to make a secure connection between curl with –cacert ca.pem (my RootCA) to my server it fails as it only gets the Leaf Certificate but not the Intermediate. Anyon know what could be wrong ?
I tried with verion 3.6.12.

You need to provide more context. Traefik static config, dynamic config, compose file(s) if used.

sorry for the confusion. it works now- there was a trailing null byte (\x00) which causes then traefik to drop the intermediate certificate silently