>>>>> 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/

Reply via email to