myENA / consul-backinator

Command line Consul backup and restore utility supporting KVs, ACLs and Queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add -skip-tls option to disable tls host verification (useful for self signed certs)

vijaybandari opened this issue · comments

Consul api does provides this option through TLSConfig.

This can be accomplished currently by using the same method as the actual consul agent since it uses the same underlying API library. It respects all the same environment variables including CONSUL_HTTP_SSL_VERIFY that can be set to false to skip certificate verification.

Example

CONSUL_HTTP_SSL_VERIFY=false consul-backinator ....

@vijaybandari did that work for you?

Closing this as it should be resolved with either the environment variable or the fixes in #16 and #18

Yeah, it worked.