X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Mailer: 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 10 I) To: cygwin AT cygwin DOT com Subject: Re: openssl errors creating password for certificate authority (CA Request) References: <365885 DOT 40190 DOT qm AT web81101 DOT mail DOT mud DOT yahoo DOT com> <20080827085804 DOT GT29104 AT calimero DOT vinschen DOT de> From: "Dr. Volker Zell" Date: Thu, 28 Aug 2008 16:00:16 +0200 In-Reply-To: <20080827085804.GT29104@calimero.vinschen.de> (Corinna Vinschen's message of "Wed, 27 Aug 2008 10:58:04 +0200") Message-ID: <7z7ia19r4f.fsf@vzell-de.de.oracle.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com >>>>> Corinna Vinschen writes: > On Aug 27 00:33, Auteria W. Winzer Jr. wrote: >> I opt to use a challenge password for sending a CA request. When I incorporate the challenge password I get the following error: >> >> Please enter the following 'extra' attributes >> to be sent with your certificate request >> A challenge password []:1234567890 >> Error adding attribute >> 1896:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc failure:asn1_lib.c:381: >> 1896:error:0B08A041:x509 certificate routines:X509_ATTRIBUTE_set1_data:malloc failure:x509_att.c:317: >> problems making Certificate Request >> >> If I don't use the challenge password attribute everything works fine. >> >> Is it recommended to use a challenge password for CA requests? Your valuable imput is grately appreciated. > It's hard to tell anything without a self-contained example which allows > to reproduce this. There's a malloc failure, for whatever reason. >> $ cygcheck -c cygwin >> Cygwin Package Information >> Package Version Status >> cygwin 1.5.25-15 OK > openssl version? FWIW, I'm in the process of updating neon to the latest version and see the same error in the latest neon test suite with openssl-0.9.8h (the latest): Write out database with 1 new entries Data Base Updated + MKPKCS12='/usr/bin/openssl pkcs12 -export -passout stdin -in client.cert -inkey client.key' + echo foobar + /usr/bin/openssl pkcs12 -export -passout stdin -in client.cert -inkey client.key -name 'Just A Neon Client Cert' -out client.p12 4212:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc failure:asn1_lib.c:381: 4212:error:0B08A041:x509 certificate routines:X509_ATTRIBUTE_set1_data:malloc failure:x509_att.c:317: The test suite worked fine with the previous version of neon (the current in cygwin 1.5) and openssl-0.9.8g (current at that time). > Corinna Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/