cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Reg:Https curl out of memory error(27)

From: praveen kumar <praveen.trams_at_gmail.com>
Date: Wed, 15 May 2013 13:01:47 -0700

Hi,

The above 27 out of memory error is resolved by giving complete path. And
also i am getting "Unable to load client key -8178" error while
authenticating with https server using ssl certificate.

Curl command :
curl -v "https://url:443" --cert "./testcert.pem" --cacert "./cacert.pem"
--pubkey "./testkey.pem" --cert-type PEM

Thanks & Regards

praveen

On 15 May 2013 10:46, Nick Zitzmann <nick_at_chronosnet.com> wrote:

>
> On May 15, 2013, at 3:27 AM, praveen <praveen.trams_at_gmail.com> wrote:
>
> > Hi,
> >
> > I have problem while posting the data into the https url using SSL
> certificates(Error :27 out of memory).
> > The same problem while trying with curl command mode. Both c curl code
> and command throwing same error.
> >
> > version details:
> >
> > OS : Fedora 14
> > curl : curl 7.21.0 (i386-redhat-linux-gnu) libcurl/7.21.0 NSS/3.12.7.0zlib/1.2.5 libidn/1.18 libssh2/1.2.4
> > openssl: OpenSSL 1.0.0a-fips 1 Jun 2010
> >
> > Please help to resolve this error.
>
> 1. Version 7.21 is really old. Have you tried using a newer version?
>
> 2. You are using curl with NSS, not OpenSSL. NSS plays by different rules
> because it is database-driven while also supporting files, and not strictly
> file-driven like OpenSSL. So to use PEM files with NSS, you need to start
> the name with a full or relative file path. So "testcert.pem" probably
> won't work, but "./testcert.pem" ought to work.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
> -------------------------------------------------------------------
> 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
>

-- 
(¨`•.•´¨) Always
`•.¸(¨`•.•´¨) Keep
(¨`•.•´¨)¸.•´ Smiling!!
`•.¸.•´
Loves´¨)
 ¸ •´ ¸.•*´¨)   ¸.•*¨)
(¸.•´      (¸.•*

-------------------------------------------------------------------
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 2013-05-15