cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to use .pfx in certificate store in CURL via SSL from Windows 7

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Mar 2015 11:18:38 +0100 (CET)

On Thu, 5 Mar 2015, Brendan White wrote:

> I want to use cURL to access a remote server, and I need to identify myself
> using a private key, otherwise the remote server gives a 401 "Unauthorized".

You mean a private password? Since you get a 401 it means the SSL layer worked
fine and you got a HTTP layer error reported back. You then lack HTTP
authorization.

The headers in that response will detail exactly which auth methods the server
supports.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-05