cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Post with json body and client SSL certificate validation

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Sep 2013 23:19:31 +0200 (CEST)

On Fri, 27 Sep 2013, Victor Dodon wrote:

> Q3. Microsoft and Apple server require client SSL certificate validation.
> Assuming that I have a suitable SSL certififcate, what options I need to set
> on curl handles to achieve this? CURLOPT_SSLCERT and CURLOPT_SSLCERTTYPE are
> enough?

Client certificates are also used in combination with a private key so you
normally also need CURLOPT_SSLKEY, CURLOPT_KEYPASSWD and possibly
CURLOPT_SSLKEYTYPE.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-27