cURL / Mailing Lists / curl-users / Single Mail

curl-users

Passphrase to be used with cURL (and a SOAP webservice)

From: thomas Armstrong <tarmstrong_at_gmail.com>
Date: Thu, 21 Feb 2008 20:37:02 +0100

Hi.

The creator of the webservice where I want to make HTTP petitions sent
me a Passphrase to be used within the call. They don't've any clue
about how to use in cURL.

This is my cURL petition:
------
curl \
   --data @file.xml \
   --header "Content-Type: text/xml; charset=utf-8" \
   --header "SOAPAction: http://ws.domain.com/IsValidUser" \
   -v \
   --key cakey.crt \
   --cert cacert.crt \
   https://ws.domain.com/UserData.asp
--------------

The passphrase is NOT the pass of my certificate. I tried it.

Does anybody have any experience with this issue? Thx.
Received on 2008-02-21