فهرست منبع

Client certificate in cUrl example

Jacob Clark 9 سال پیش
والد
کامیت
fae986d625
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      pages/common/curl.md

+ 4 - 0
pages/common/curl.md

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