Problems making certificate request - Openssl

This is a discussion on Problems making certificate request - Openssl ; I've been trying to secure site with open ssl and have made a number of attempts and have gotten many errors. Any help with the following error would be very helpful. Thanks in advance: I get the following error upon ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Problems making certificate request

  1. Problems making certificate request

    I've been trying to secure site with open ssl and have made a number of attempts and have gotten many errors. Any help with the following error would be very helpful. Thanks in advance:

    I get the following error upon issuing the following command:

    C:\Program Files\Apache Software Foundation\Apache2.2\bin>openssl req -config openssl.cnf -new -out my-server.csrLoading 'screen' into random state - doneGenerating a 1024 bit RSA private key...++++++.....++++++writing new private key to 'privkey.pem'Enter PEM pass phrase:Verifying - Enter PEM pass phrase:-----You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but youcan leave some blankFor some fields there will be a default value,If youenter '.', the field will be left blank.
    ..
    ..
    A challenge password []:hutchError adding attribute5144:error:0D0BA041:asn1encoding routines:ASN1_STRING_set:malloc failure:.\crypto\asn1\asn1_lib.c:381:5144:error:0B 08A041:x509 certificate routines:X509_ATTRIBUTE_set1_data:malloc failure:.\crypto\x509\x509_att.c:317:

    I'm trying to create an SSL certificate for an svn repository. Thanks for any help.

    __________________________________________________ _______________
    Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie..
    http://windowslive.com/connect/post/..._domore_092008

  2. Re: Problems making certificate request

    Malloc failure means that it isn't able to allocate memory properly.
    What did you use to compile it, or if you got a pre-built binary where
    did you get it?

    -Kyle H

    On Thu, Sep 4, 2008 at 9:27 AM, V H wrote:
    > I've been trying to secure site with open ssl and have made a number of
    > attempts and have gotten many errors. Any help with the following error
    > would be very helpful. Thanks in advance:
    >
    > I get the following error upon issuing the following command:
    >
    > C:\Program Files\Apache Software Foundation\Apache2.2\bin>openssl req
    > -config openssl.cnf -new -out my-server.csr
    > Loading 'screen' into random state - done
    > Generating a 1024 bit RSA private key
    > ...++++++
    > .....++++++
    > writing new private key to 'privkey.pem'
    > Enter PEM pass phrase:
    > Verifying - Enter PEM pass phrase:
    > -----
    > You are about to be asked to enter information that will be incorporated
    > into your certificate request.
    > What you are about to enter is what is called a Distinguished Name or a DN.
    > There are quite a few fields but you can leave some blank
    > For some fields there will be a default value,
    > If you enter '.', the field will be left blank.
    >
    > .
    > .
    > A challenge password []:hutch
    > Error adding attribute
    > 5144:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc
    > failure:.\crypto\asn1\asn1_lib.c:381:
    > 5144:error:0B08A041:x509 certificate
    > routines:X509_ATTRIBUTE_set1_data:malloc
    > failure:.\crypto\x509\x509_att.c:317:
    >
    >
    > I'm trying to create an SSL certificate for an svn repository. Thanks for
    > any help.
    >
    >
    > ________________________________
    > Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie.
    > Learn Now

    __________________________________________________ ____________________
    OpenSSL Project http://www.openssl.org
    User Support Mailing List openssl-users@openssl.org
    Automated List Manager majordomo@openssl.org


  3. Re: Problems making certificate request

    On Thu, Sep 04, 2008, V H wrote:

    > I've been trying to secure site with open ssl and have made a number of
    > attempts and have gotten many errors. Any help with the following error
    > would be very helpful. Thanks in advance:
    >
    > I get the following error upon issuing the following command:
    >
    > C:\Program Files\Apache Software Foundation\Apache2.2\bin>openssl req
    > -config openssl.cnf -new -out my-server.csrLoading 'screen' into random
    > state - doneGenerating a 1024 bit RSA private key...++++++.....++++++writing
    > new private key to 'privkey.pem'Enter PEM pass phrase:Verifying - Enter PEM
    > pass phrase:-----You are about to be asked to enter information that will be
    > incorporatedinto your certificate request.What you are about to enter is
    > what is called a Distinguished Name or a DN.There are quite a few fields but
    > you can leave some blankFor some fields there will be a default value,If you
    > enter '.', the field will be left blank. . . A challenge password
    > []:hutchError adding attribute5144:error:0D0BA041:asn1 encoding
    > routines:ASN1_STRING_set:malloc
    > failure:.\crypto\asn1\asn1_lib.c:381:5144:error:0B 08A041:x509 certificate
    > routines:X509_ATTRIBUTE_set1_data:malloc
    > failure:.\crypto\x509\x509_att.c:317:
    >
    > I'm trying to create an SSL certificate for an svn repository. Thanks for
    > any help.
    >


    That's a known issue with OpenSSL 0.9.8h . It is fixed in the latest 0.9.8
    snapshots.

    Steve.
    --
    Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
    OpenSSL project core developer and freelance consultant.
    Homepage: http://www.drh-consultancy.demon.co.uk
    __________________________________________________ ____________________
    OpenSSL Project http://www.openssl.org
    User Support Mailing List openssl-users@openssl.org
    Automated List Manager majordomo@openssl.org


  4. RE: Problems making certificate request

    It's a pre-built binary that I downloaded directly from the apache site @ http://httpd.apache.org/download.cgi. I'm using the Win32 Binary including OpenSSL 0.9.8h (MSI Installer). Apache site indicates this is the latest recomended version for 32 bit with openssl. Should I be using something different?

    > Date: Fri, 5 Sep 2008 16:29:10 -0700> From: aerowolf@gmail.com> To: openssl-users@openssl.org> Subject: Re: Problems making certificate request> >Malloc failure means that it isn't able to allocate memory properly.> Whatdid you use to compile it, or if you got a pre-built binary where> did you get it?> > -Kyle H> > On Thu, Sep 4, 2008 at 9:27 AM, V H wrote:> > I've been trying to secure site with open ssl and have made a number of> > attempts and have gotten many errors. Any help with thefollowing error> > would be very helpful. Thanks in advance:> >> > I get the following error upon issuing the following command:> >> > C:\Program Files\Apache Software Foundation\Apache2.2\bin>openssl req> > -config openssl.cnf -new -out my-server.csr> > Loading 'screen' into random state - done> >Generating a 1024 bit RSA private key> > ...++++++> > .....++++++> > writing new private key to 'privkey.pem'> > Enter PEM pass phrase:> > Verifying - Enter PEM pass phrase:> > -----> > You are about to be asked to enter information that will be incorporated> > into your certificate request.> > What you are about to enter is what is called a Distinguished Name or a DN.> >There are quite a few fields but you can leave some blank> > For some fields there will be a default value,> > If you enter '.', the field will be left blank.> >> > .> > .> > A challenge password []:hutch> > Error addingattribute> > 5144:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc> > failure:.\crypto\asn1\asn1_lib.c:381:> > 5144:error:0B08A041:x509 certificate> > routines:X509_ATTRIBUTE_set1_data:malloc> > failure:.\crypto\x509\x509_att.c:317:> >> >> > I'm trying to create an SSL certificate for an svn repository. Thanks for> > any help.> >> >> > ________________________________> > Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie.> > Learn Now> __________________________________________________ ____________________> OpenSSL Project http://www.openssl.org> User Support Mailing List openssl-users@openssl.org> Automated List Manager majordomo@openssl.org

    __________________________________________________ _______________
    Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie..
    http://windowslive.com/connect/post/..._domore_092008

  5. RE: Problems making certificate request

    Thank you Steve - Do you know where I can get the latest 0.9.8 snapshot? Also opensll was installed as part of the latest apache win 32 binary? I suppose I would have compile apache with this latest snapshot if I wanted to work? Is there anyone else outsther who have installed the latest apache win32 with openssl with the latest snapshot who can point me in the right direction? Thanks, Vj

    > Date: Sat, 6 Sep 2008 12:38:28 +0200> From: steve@openssl.org> To: openssl-users@openssl.org> Subject: Re: Problems making certificate request> > On Thu, Sep 04, 2008, V H wrote:> > > I've been trying to secure sitewith open ssl and have made a number of> > attempts and have gotten many errors. Any help with the following error> > would be very helpful. Thanks in advance:> > > > I get the following error upon issuing the following command:> > > > C:\Program Files\Apache Software Foundation\Apache2.2\bin>openssl req> > -config openssl.cnf -new -out my-server.csrLoading 'screen' into random> > state - doneGenerating a 1024 bit RSA private key...++++++.....++++++writing> > new private key to 'privkey.pem'Enter PEM pass phrase:Verifying - Enter PEM> > pass phrase:-----You are about to be asked to enter information that will be> > incorporatedinto your certificate request.What you are about to enter is> > what is called a Distinguished Name or a DN.There are quite a few fields but> > you can leave some blankFor some fields therewill be a default value,If you> > enter '.', the field will be left blank. . . A challenge password> > []:hutchError adding attribute5144:error:0D0BA041:asn1 encoding> > routines:ASN1_STRING_set:malloc> > failure:.\crypto\asn1\asn1_lib.c:381:5144:error:0B 08A041:x509 certificate> > routines:X509_ATTRIBUTE_set1_data:malloc> > failure:.\crypto\x509\x509_att.c:317:> > > >I'm trying to create an SSL certificate for an svn repository. Thanks for>> any help. > > > > That's a known issue with OpenSSL 0.9.8h . It is fixedin the latest 0.9.8> snapshots.> > Steve.> --> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage> OpenSSL project core developer and freelance consultant.> Homepage: http://www.drh-consultancy.demon.co.uk> __________________________________________________ ____________________> OpenSSL Project http://www.openssl.org> User Support Mailing List openssl-users@openssl.org> Automated List Manager majordomo@openssl.org

    __________________________________________________ _______________
    See how Windows Mobile brings your life together—at home, work, or onthe go.
    http://clk.atdmt.com/MRT/go/msnnkwxp...mrt/direct/01/

+ Reply to Thread