cURL / Mailing Lists / curl-users / Single Mail


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

From: Nick Zitzmann <>
Date: Wed, 15 May 2013 11:46:23 -0600

On May 15, 2013, at 3:27 AM, praveen <> 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/ zlib/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

List admin:
Received on 2013-05-15