curl: (35) error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
{
"verify_server_hostname": false,
"verify_outgoing": true,
"verify_incoming": true,
"ui_dir": "/opt/consul/ui",
"server": true,
"recursors": [
"10.0.0.1",
"10.0.0.2"
],
"ports": {
"server": 8305,
"https": 8900
},
"client_addr": "0.0.0.0",
"cert_file": "/etc/consul/ssl/test.crt",
"ca_file": "/etc/consul/ssl/ca.crt",
"bootstrap_expect": 3,
"addresses": {
"https": "0.0.0.0"
},
"acl_master_token": "master_token",
"acl_default_policy": "allow",
"acl_datacenter": "test",
"data_dir": "/opt/consul",
"datacenter": "test",
"dns_config": {
"allow_stale": true
},
"enable_syslog": true,
"encrypt": "encrypt token",
"key_file": "/etc/consul/ssl/test.key",
"log_level": "INFO",
"node_name": "test"
}
openssl s_client -showcerts -connect $CONSUL_HOST:8900 < /dev/null 2>/dev/null | openssl x509 -text -noout
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/b08303b2-cd4b-4f22-adaa-79c6012c8342%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
curl -X PUT -d @- https://<hostname that matches the wildcard domain in cert subject:8900/v1/kv/example <<< FooValue --capath /etc/consul/ssl --cacert /etc/consul/ssl/ca.crt
curl: (35) error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/3a8f031c-7532-462f-bc7b-ab389a6aa360%40googlegroups.com.
2016/11/26 00:48:38 [ERR] raft: Failed to make RequestVote RPC to {Voter 10.122.48.138:8305 10.122.48.138:8305}: remote error: tls: bad certificate