curl-and-python

RE: Convert client-certificate curl.exe command to pycurl

From: Binney, Peter <Peter.Binney_at_commerzbank.com>
Date: Thu, 21 May 2015 17:56:33 +0200

Hi Oleg - that works fine. It uses the specified client certificate and errors (as expected) if the certificate password is incorrect.

So, I look forward to hearing of a release of the .msi's for some future pycurl that works as does this pycurl-7.19.5.1-cp34-none-win32.whl.

I had to test with python 3.4.0, which I don't usually use because other PCs here are locked down to 2.7.6 and it doesn't have PIP, so I couldn't install from a .whl file.

Cheers,
Peter

-----Original Message-----
From: Oleg Pudeyev [mailto:oleg+pycurl_at_bsdpower.com]
Sent: Thursday, May 21, 2015 3:53 PM
To: Binney, Peter
Cc: curl with python
Subject: Re: Convert client-certificate curl.exe command to pycurl

On Thu, 21 May 2015 09:49:47 +0200
"Binney, Peter" <Peter.Binney_at_commerzbank.com> wrote:

> The verbose output from the script posted yesterday under
> https://github.com/pycurl/pycurl/issues/244 is below.
>
> Any values set with curl.setopt(SSLxxx) are ignored, and the client
> certificate most recently added to Internet Explorer's store is always
> used.

Looking at libcurl source, SSLCERTPASSWD (STRING_KEY_PASSWD) option is only mentioned under nss, gskit, polarssl, openssl and darwinssl backends. Winssl and gnutls are missing from that list.

Can you try a pycurl build from here please:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Regards,
Oleg

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2015-05-21