curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl command line question

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Wed, 1 Feb 2017 14:35:14 -0500

On 1/31/2017 3:09 PM, Jeanne Vural wrote:
> CURL that is successful
>
> C:\sevistest>C:\curl_7_47_1\curl-7.47.1-win64-mingw\bin\curl.exe -V
> curl 7.47.1 (x86_64-pc-win32) libcurl/7.47.1 OpenSSL/1.0.2f zlib/1.2.8 WinIDN libssh2/1.7.0 nghttp2/1.7.1
> Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
> Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTP2
>
>
> CURL that fails with 403 error
>
> C:\sevistest>C:\curl-7.51.0\src\curl.exe -V
> curl 7.51.0 (x86_64-w64-mingw32) libcurl/7.51.0 WinSSL zlib/1.2.8 WinIDN libssh2/1.7.0_DEV
> Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
> Features: IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz

Please don't top-post [1] on this list. Top posting is when you are
making your reply above what you are replying to. When you do that the
conversation is harder to follow and on this list it makes it less
likely you will get a reply.

I think the problem you are having is because you're using WinSSL and
client certificates aren't supported with WinSSL (yet) [2]. The code can
detect when a client certificate is requested but nothing is done. In
the verbose output do you see this:

schannel: a client certificate has been requested

It looks like the curl version you downloaded is the x64 build from Marc
Hörsken which uses WinSSL; can you try the x64 build from Viktor Szakáts
[3] which uses OpenSSL?

[1]: https://curl.haxx.se/mail/etiquette.html#Do_Not_Top_Post
[2]: https://curl.haxx.se/docs/todo.html#Add_support_for_client_certifica
[3]: https://curl.haxx.se/download.html#Win64

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-02-01