So when I start up the docker-compose, https://FQDN gives me ‘Internal Server Error’
The logs tell me it’s a certificate issue. I know for a fact that it’s not a problem with the certificate that Treafik uses, I have ~15 other services running just fine with it.
I don’t really know what to do now.
Any suggestion on making this certificate work ?
so if I understand correctly, this certificate is only used for TLS within the internal network behind traefik?
I think I could go without it. How could I modify my configuration to fix it ?
Thank you for your help. I have to tell you that I am well aware of this documentation and you can be sure that I have read several times every single forum thread here about traefik and I have also seen every bit of documentation available.
Because the docker-compose.yml at that link does not work, I went a step further and found a more recent version of it on github. You will find that the github version is slightly different, specifically the part with:
Now, neither docker-compose.yml works for me: I get the same certificate error. I forgot that the internal TLS certificate is necessary for the sync function, in that case I need to make it work.
It’s hard for me to say if something is out-of-dated but it feels to me like I’m missing a small piece of the puzzle.
Which steps would you take to provide Cells with a certificate that is accepted by traefik ?
I didn’t find documentation on it, only about the certificate from traefik to the internet
Have you tried to skip verification of Cells certificate at the Traefik server level, typically by adding
- --serverstransport.insecureskipverify=true
in the commands section of the traefik container ?
This tells Traefik to not try to validate the certificate that is exposed by the Cells service (in the config you’ve shown, cells is exposing a self-signed dynamically generated cert).
This is OK if your services (Traefik, Cells, your other servers communicate via a reasonably secured private network).
ah thanks, that works for me. I incorrectly assumed that insecureskipverify=true would make the connections insecure but if you tell me that it’s only in the docker bridge network shared by Treafik and Cells then it’s acceptable. I’m usually very reluctant to changing the Traefik config as it could affect my other services.
Thank you very much for your patience and help.