1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 06:55:23 +02:00

Client certificate in cUrl example

This commit is contained in:
Jacob Clark 2016-01-28 12:12:55 +00:00
parent b4304e1050
commit fae986d625

View file

@ -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}}`