Results 24 comments of Tom Daley

I too am getting this error with the default configuration

Hi folks, I am having an issue with this container's healthcheck on docker swarm as well. I can reproduce very easily and I think I know what the problem may...

> @tomdaley92 the problem with your health check is that the dnsNames in the ca.json should have `ca.diesel.net` too. > > Looking at the error it looks like the domain...

> Hi @tomdaley92, > > The health check just runs `step ca health`, which uses the CA url and fingerprint configured in `/home/step/config/defaults.json` in the container. To get the health...

@tashian no luck with setting `localhost` during `step ca init`. I even tried adding `localhost,ca.diesel.net,127.0.01` with no luck either. Here is my output: ```bash docker run -it -e STEPDEBUG=1 smallstep/step-ca:0.16.0...

If I replace `ca.diesel.net` with `localhost` in `defaults.json` AFTER `step ca init` as a sort of override, and then redeploy the service, it is able to resolve localhost to 127.0.0.1...

Again thanks for the help everyone, don't mean to blow up this thread. Just posting my findings. It looks like Traefik doesn't have a way to "not require" health checks...

> The name in the health check URL has to match a name in `dnsNames` in `ca.json`. So, use `ca.diesel.net,127.0.0.1,localhost` in `ca.json`, and then change `defaults.json` to use `localhost` (or...

Wewt that was it @tashian I now have a succesfull healthcheck! thank you taking time out of your day to help me with this, really appreciate it 👍

> Would like to see ARM64 support :) Thank you to share your config. If we can enable Github Action pipeline for crossbuilding and testing in this upstream project, I...