Hi,

I tried changing the .p12 extension to .pfx extension and
I get the "invalid input information" message when trying to
add the certificate to the Personal Certificate Store.

I have not tried the -certfile ourca.cert yet.

Hj

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dr Stephen Henson
> Sent: Martes 7 de Septiembre de 1999 7:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Confused
>
>
> Hector Jimenez Pensado wrote:
> >
> > Hi,
> >
> > I cannot get MSIE 5 to add a personal certificate
> > that I added with openssl:
> >
> > 1. Generated a CA with:
> > a) The private key:
> > openssl genrsa -des3 -out private.key 1024
> > b) The self-signed certificate:
> > openssl req -x509 -new -key private.key -out ourca.cert
> >
> > 2. Generate client requests with:
> > a) Generate the client request and private key:
> > openssl req -new -outform PEM > client.csr
> > b) Sign that request with our CA
> > openssl x509 -in client.csr -out client.cert -CA ourca.cert -CAkey
> > private.key
> >              -CAcreateserial -days 30
> > c) Generate a PKCS12 certificate:
> > openssl pkcs12 -export -in client.cert -out client.p12 -inkey
> privkey.pem
> >
> > So, if I do a double-click in the file client.cert in my win95
> > I get asked where to put the certificate, I tell Personal, I get
> > a succesfull import message but the certificate never shows in the
> > list.
> > I do the same with ourca.cert and it gets imported ok in the
> > Trusted Certificate lists, that works ok.
> >
> > If I import the client.p12, I do get prompted for the password but
> > then I get an invalid format error.
> >
> > What am I missing, I only want to be able to:
> >
> > 1. Generate my CA which I think I have done correctly (please
> > advice if my procedure is wrong, and a little elaborate
> > response other than: "use CA.pl").
> > 1a)Don�t want to be asked for the CA password!
> >
> > 2.Generate client certificates which I can add to MSIE.
> >
>
> You need to import the '.p12' file, if you give it the extension ".pfx"
> then you should be able to double click on it with IE5. You can add the
> option:
> -certfile ourca.cert
> to the PKCS#12 step and it should add your CA automatically with IE5.
>
> You should also note that the PKCS#12 file (.p12 file) is a binary file
> so will be corrupted if it is transferred in text mode.
>
> Steve.
> --
> Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
> Personal Email: [EMAIL PROTECTED]
> Senior crypto engineer, Celo Communications: http://www.celocom.com/
> Core developer of the   OpenSSL project: http://www.openssl.org/
> Business Email: [EMAIL PROTECTED] PGP key: via homepage.
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to