1
0
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:
Jesus Guzman, Jr 2021-05-25 22:37:30 -07:00 committed by GitHub
parent ead81d6d14
commit 73624aa4cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]: