mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 22:44:54 +02:00
Merge pull request #735 from imjacobclark/patch-1
Client certificate in cURL example
This commit is contained in:
commit
4e16eb267d
1 changed files with 4 additions and 0 deletions
|
@ -30,3 +30,7 @@
|
|||
- Pass a user name and password for server authentication:
|
||||
|
||||
`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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue