summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/pinnedpubkey.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/pinnedpubkey.d')
-rw-r--r--docs/cmdline-opts/pinnedpubkey.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/cmdline-opts/pinnedpubkey.d b/docs/cmdline-opts/pinnedpubkey.d
index 4e0ed5edd..dc98b29f8 100644
--- a/docs/cmdline-opts/pinnedpubkey.d
+++ b/docs/cmdline-opts/pinnedpubkey.d
@@ -3,6 +3,8 @@ Arg: <hashes>
Help: FILE/HASHES Public key to verify peer against
Protocols: TLS
Category: tls
+Example: --pinnedpubkey keyfile $URL
+Example: --pinnedpubkey 'sha256//ce118b51897f4452dc' $URL
---
Tells curl to use the specified public key file (or hashes) to verify the
peer. This can be a path to a file which contains a single public key in PEM