hi,
i have the following issue:
I have declared as environment variables
FLEET_SERVER_TLS: "true"
FLEET_SERVER_CERT: /fleet/cert.pem
FLEET_SERVER_KEY: /fleet/cert-key.pem
but i get the error "2024/08/08 155957 http: TLS handshake error from 172.18.0.344532 remote error: tls: bad certificate"
how do i declare the CA?
d
Dale Ribeiro
08/08/2024, 6:06 PM
Hey @Ibra, do you have a DNS name for your server that matches your your certificate?
i
Ibra
08/08/2024, 6:09 PM
hi @Dale Ribeiro this is a wildcard certificate *.company.it
Ibra
08/08/2024, 6:20 PM
it's docker container
Ibra
08/08/2024, 6:26 PM
i solve it
d
Dale Ribeiro
08/08/2024, 6:43 PM
What ended up being the issue?
i
Ibra
08/08/2024, 6:45 PM
I use the docker label for traefik and the certificate does not match the ip of the container, I put the ip of the container in the host file of traefik pointing to the fleet url and removed the labels and then used the dynamic conf