Update README.md

release-0.4
Xiang Li 2013-10-10 23:15:48 -07:00 committed by Brandon Philips
parent 3f5c39afd9
commit f62095428f
1 changed files with 20 additions and 0 deletions

View File

@ -593,6 +593,26 @@ Odd numbers are good because if you have 8 machines the majority will be 5 and i
The result is that an 8 machine cluster can tolerate 3 machine failures and a 9 machine cluster can tolerate 4 nodes failures.
And in the best case when all 9 machines are responding the cluster will perform at the speed of the fastest 5 nodes.
### Why SSLv3 alert handshake failure when using SSL client auth?
The `TLS` pacakge of `golang` checkes the key usage of certificate public key before using it. To use the certificate public key to do client auth, we need to add `clientAuth` to `Extended Key Usage` when creates the certificate public key.
Here is how to do it:
Add the following section to my openssl.cnf:
```
[ ssl_client ]
...
extendedKeyUsage = clientAuth
...
```
When create the cert be sure to reference it in the -extensions flag:
```
openssl ca -config openssl.cnf -policy policy_anything -extensions ssl_client -out certs/node.crt -infiles node.csr
```
## Project Details
### Versioning