Files
etcd/server
Brandon Philips 0fa6d38574 fix(server): fix client certificate verification
In d0c4916fe9 the TLS CA Certificate
verification broke.

This was bisected using the following basic test:

```
./bin/etcd -f -name machine0 -data-dir machine0 -ca-file=/tmp/ca/ca.crt -cert-file=/tmp/ca/server.crt -key-file=/tmp/ca/server.key.insecure
```

And in another window doing

```
curl --key /tmp/ca/server2.key.insecure  --cert /tmp/ca/server2.crt -k -L https://127.0.0.1:4001/v2/keys/foo -XPUT -d value=bar -v
```

Before merging this PR there are a few things that need to be fixed up:

1) Tests for client certs both positive and negative
2) Refactor (or at least documentation of) the TLSConfig types
2014-01-31 16:56:15 -08:00
..
2014-01-05 20:39:39 -08:00
2013-11-19 09:20:20 -07:00
2013-10-11 01:02:38 -06:00
2013-10-12 15:56:43 -06:00
2013-10-30 17:36:15 -07:00
2013-11-22 13:27:04 -08:00
2013-12-07 14:35:31 -07:00
2014-01-01 13:44:04 -08:00
2013-10-30 17:36:15 -07:00