mirror of
https://github.com/curl/curl.git
synced 2026-04-22 16:42:10 +03:00
Option --pinnedpubkey takes a path to a public key in DER format and only connect if it matches (currently only implemented with OpenSSL). Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt(). Extract a public RSA key from a website like so: openssl s_client -connect google.com:443 2>&1 < /dev/null | \ sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \ | openssl rsa -pubin -outform DER > google.com.der |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| curl.h | ||
| curlbuild.h.cmake | ||
| curlbuild.h.dist | ||
| curlbuild.h.in | ||
| curlrules.h | ||
| curlver.h | ||
| easy.h | ||
| Makefile.am | ||
| mprintf.h | ||
| multi.h | ||
| stdcheaders.h | ||
| typecheck-gcc.h | ||