mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
93e450793c
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 |
||
---|---|---|
.. | ||
genroot.sh | ||
genserv.sh | ||
Makefile.am |