cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: how to set option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jan 2006 11:21:31 +0100 (CET)

On Tue, 27 Dec 2005, 'Haibo Liu' wrote:

> I have two CA certificates with .cer extension, and one .prx file.  And the
> .prx requires password.

CA certs don't require passwords.

> I import the the certificates into IE and everything seems ok. But I can't
> make them work in my php script. I don't know how to use curl_setopt().  
> Can anybody help me?

CURLOPT_CAINFO and CURLOPT_CAPATH should be your friends. And read up on the
docs for curl_setopt() or check one of the numerous available examples.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-01-02