mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Update rustls-client-cert README to use httpie verify (#428)
This commit is contained in:
parent
ead81d6d14
commit
73624aa4cc
@ -20,8 +20,7 @@ The server runs HTTP on port 8080 and HTTPS on port 8443.
|
||||
|
||||
Using [HTTPie]:
|
||||
```sh
|
||||
# `--verify=false` used because HTTPie doesn't have an option to provide the CA cert
|
||||
http https://127.0.0.1:8443/ --verify=false --cert=certs/client-cert.pem --cert-key=certs/client-key.pem
|
||||
http https://127.0.0.1:8443/ --verify=certs/rootCA.pem --cert=certs/client-cert.pem --cert-key=certs/client-key.pem
|
||||
```
|
||||
|
||||
Using [cURL]:
|
||||
|
Loading…
Reference in New Issue
Block a user