curl-and-python

(no subject)

From: Peter Schott <pschott_at_drivefinancial.com>
Date: Wed, 25 May 2005 18:09:50 -0500

OK - trying that now, but when I set SSLCERT = the same PEM file, I get:
debug - unable to set private key file: 'D:/MyCert.pem' type PEM
regular output - ''' pycurl.error : (58, "unable to set private key
file: D:/MyCert.pem' type PEM\n") '''
 
Am I doing something wrong by trying to pass in (pycurl.SSLCERT, MyCert)
for values? Is this supposed to be a list or dictionary instead of a
string?
 
Thanks.
 
 
 
 

> OK - I can kind of see that, but why don't I get prompted for this
when I
> use curl.exe? I don't pass this in for my command line and it works.

Aaaah. Now I finally start to understand... Sorry for being slow.

I went back and compared your python with the command line, and spotted
that
you use -E but you don't pass in your certificate (using SSLCERT) in the

python program. You only pass in the SSLKEY, and both are likely to be
required.

curl -E assumes that your privaate key and client cert are both kept in
the
same PEM file.

 
Peter A. Schott
drive financial services
Database Administrator
p: 214.237.3567
c: 214.734.1792
f: 214.237.3495
email: pschott_at_drivefinancial.com <mailto:pschott_at_drivefinancial.com>

 

___________________________________________________________________________________
This e-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C.
Sections 2510-2521. The information contained in this e-mail is confidential
and intended only for use of the individual or entity named above. If the reader
of this message is not the intended recipient, or the employee or agent
responsible to deliver it to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this message in error or there are any problems
please notify the originator immediately.

The unauthorized use, disclosure, copying or alteration of this message is
strictly forbidden. This mail and any attachments have been scanned for viruses
prior to leaving the Drive Financial Services network. Drive Financial Services
will not be liable for direct, special, indirect or consequential damages arising
from alteration of the contents of this message by a third party or as a result of
any virus being passed on.
___________________________________________________________________________________

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-05-26