Client certificate in cUrl example
This commit is contained in:
@@ -30,3 +30,7 @@
|
|||||||
- Pass a user name and password for server authentication:
|
- Pass a user name and password for server authentication:
|
||||||
|
|
||||||
`curl -u myusername:mypassword {{http://localhost}}`
|
`curl -u myusername:mypassword {{http://localhost}}`
|
||||||
|
|
||||||
|
- Pass client certificate and key for a secure resource:
|
||||||
|
|
||||||
|
`curl -v –key {{key.pem}} –cacert {{ca.pem}} –cert {{client.pem}} -k {{https://localhost}}`
|
||||||
|
Reference in New Issue
Block a user