Got a system here that's got a viable Consul agent (it's registered it's services and service checks to the central servers), but I just can't get consul-template to play ball. Any attempt to use it comes back with a "getsockopt: connection refused" message.
Central Consul setup has the SSL options (ca_file, cert_file, key_file and encrypt) values and I've duplicated those in the consul-template configuration file (ca_cert, cert and key respectively, couldn't find an equivalent for "encrypt"). I've also got the appropriate ACL token set in the consul-template configuration file (the same one that the service I want to use consul-template with), but all I get is:
I'm pretty sure that it's a mismatch somewhere in the security setup I've used, mainly because a test Consul master that I used which wasn't ACL etc protected worked fine.
All help gratefully received!
Regards, Bob.