mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Update README.md
add README version change -F to -d for consistence add -v to show SSL handshake message
This commit is contained in:
parent
0166edce77
commit
59599dc519
@ -1,4 +1,5 @@
|
||||
# etcd
|
||||
README version 0.1
|
||||
|
||||
[](https://travis-ci.org/coreos/etcd)
|
||||
|
||||
@ -272,7 +273,7 @@ Next, lets configure etcd to use this keypair:
|
||||
You can now test the configuration using https:
|
||||
|
||||
```sh
|
||||
curl --cacert fixtures/ca/ca.crt https://127.0.0.1:4001/v1/keys/foo -F value=bar
|
||||
curl --cacert fixtures/ca/ca.crt https://127.0.0.1:4001/v1/keys/foo -d value=bar -v
|
||||
```
|
||||
|
||||
You should be able to see the handshake succeed.
|
||||
@ -302,7 +303,7 @@ We can also do authentication using CA certs. The clients will provide their cer
|
||||
Try the same request to this server:
|
||||
|
||||
```sh
|
||||
curl --cacert fixtures/ca/ca.crt https://127.0.0.1:4001/v1/keys/foo -F value=bar
|
||||
curl --cacert fixtures/ca/ca.crt https://127.0.0.1:4001/v1/keys/foo -d value=bar -v
|
||||
```
|
||||
|
||||
The request should be rejected by the server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user