schannel: add client certificate authentication

Users can now specify a client certificate in system certificates store
explicitly using expression like `--cert "CurrentUser\MY\<thumbprint>"`

Closes #2376
This commit is contained in:
Archangel_SDY 2018-03-10 23:40:00 +08:00 committed by Daniel Stenberg
parent bc4b8c9717
commit e35b0256eb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 123 additions and 1 deletions

View file

@ -38,6 +38,9 @@ you wish to authenticate with as it is named in the security database. If you
want to use a file from the current directory, please precede it with "./"
prefix, in order to avoid confusion with a nickname.
With WinSSL, this can be expression like "CurrentUser\\MY\\<thumbprint>" to
refer to a certificate in the system certificates store.
When using a client certificate, you most likely also need to provide a
private key with \fICURLOPT_SSLKEY(3)\fP.