Created
October 12, 2016 18:14
-
-
Save KAllan357/9f99421575b38fd787f22818bf90fa76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Testing with Consul "verify_incoming": false | |
$ ./consul-backinator backup -scheme https -addr 192.168.99.100:8500 | |
2016/10/12 10:20:45 [Error] Failed to backup key data: Get https://192.168.99.100:8500/v1/kv//?consistent=&recurse=: x509: cannot validate certificate for 192.168.99.100 because it doesn't contain any IP SANs | |
$ ./consul-backinator backup -scheme https -addr 192.168.99.100:8500 -ca-cert certs/ca-cert.pem -tls-skip-verify | |
2016/10/12 11:09:52 [Error] Failed to backup key data: No keys found | |
# Testing with Consul "verify_incoming": true | |
$ ./consul-backinator backup -scheme https -addr 192.168.99.100:8500 -ca-cert certs/ca-cert.pem -tls-skip-verify | |
2016/10/12 10:23:25 [Error] Failed to backup key data: Get https://192.168.99.100:8500/v1/kv//?consistent=&recurse=: remote error: tls: bad certificate | |
$ ./consul-backinator backup -scheme https -addr 192.168.99.100:8500 -ca-cert ca-cert.pem -tls-skip-verify -client-cert certs/client-cert.pem -client-key certs/client-key.pem | |
2016/10/12 10:58:29 [Error] Failed to backup key data: No keys found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment