cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with curl + nss (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Jul 2010 00:16:54 +0200 (CEST)

Hi

I thought I'd share this info, taken from the curl users list, archived at
http://curl.haxx.se/mail/archive-2010-07/0024.html

Perhaps someone more involved with NSS feels like taking this issue onwards,
as it feels like either a limitation/bug in NSS, or a limitation/bug in how
libcurl is using NSS...

-- 
  / daniel.haxx.se
---------- Forwarded message ----------
Date: Sat, 17 Jul 2010 22:59:01
From: Eric Landes <autrelandes-curl_at_yahoo.fr>
To: the curl tool <curl-users_at_cool.haxx.se>
Subject: Re: Problem with curl + nss
> 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
-------------------------------------------------------------------
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
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-19