Anthony Romano c8a2c7f64f *: eschew you from documentation | 7 år sedan | |
---|---|---|
.. | ||
config | 9 år sedan | |
Makefile | 8 år sedan | |
Procfile | 8 år sedan | |
README.md | 7 år sedan |
This demonstrates using Cloudflare's cfssl to easily generate certificates for an etcd cluster.
Defaults generate an ECDSA-384 root and leaf certificates for localhost
. etcd nodes will use the same certificates for both sides of mutual authentication, but won't require client certs for non-peer clients.
Instructions
json
Example:
{
"CN": "etcd",
"hosts": [
"3.8.121.201",
"46.4.19.20",
"127.0.0.1"
],
"key": {
"algo": "ecdsa",
"size": 384
},
"names": [
{
"O": "autogenerated",
"OU": "etcd cluster",
"L": "the internet"
}
]
}
3. Run make
to generate the certs