cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with curl + nss

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 2 Aug 2010 16:54:32 +0200

On Saturday 17 July 2010 22:59:01 Eric Landes wrote:
> > It looks like a bug. The question now is of course if the
> > problem is within NSS or curl. Can you browse to this page
> > with Firefox?
>
> The failure was due to my PKCS#8 private key format :
> - With a PKCS#8 private key
> -----BEGIN ENCRYPTED PRIVATE KEY----- header
> or
> -----BEGIN PRIVATE KEY----- header
> curl+openssl works, but not curl+nss+libnsspem.so
> - With a RSA private key
> -----BEGIN RSA PRIVATE KEY----- header
> both curl+openssl and curl+nss+libnsspem.so work

As for the PKCS#8 private key format support in pemnss, we have some patches
written by Rich Megginson (CC'd). We might probably open a bug for this and
place them somewhere for public. Rich, what do you think?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-02