From fae986d625ee1ad29e9daf8536c6bc72afd447fe Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Thu, 28 Jan 2016 12:12:55 +0000 Subject: [PATCH] Client certificate in cUrl example --- pages/common/curl.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/curl.md b/pages/common/curl.md index 45622ba6d..d00645b7b 100644 --- a/pages/common/curl.md +++ b/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}}`