Thanks That seems to have been the issue.
-----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Mounir IDRASSI Sent: Sunday, September 19, 2010 12:28 AM To: openssl-users@openssl.org Subject: Re: cannot create p12 file Hi, It hangs because it is waiting for the input certificate that has to be put with the given key inside the PKCS#12 file. Replace the -certfile option with -in and everything will be OK. Actually -certfile is for adding additional certificate, not the main one. -- Mounir IDRASSI IDRIX http://www.idrix.fr > I am trying to create a .p12 file with pkcs12. > > > > I created the private key: > > > > #openssl genrsa -out user.key -des3 > > > > > > I also create a certificate signing request (openssl req ..) and a > certificate (openssl ca.) > > > > I want to store the user key (and optionally the user certificate) in a > .p12 > file that can be imported Microsoft IIS. > > > > #openssl pkcs12 -export -inkey user.key -certfile user.cer -out user.pfx > -name "my key" > > Or > > #openssl pkcs12 -export -inkey user.key -out user.pfx -name "my key" > > > > > > In either case, I get prompted for the pass phase for the key, then the > process just hangs. This is with OpenSSL 1.0.0 on Solaris 10 and OpenSSL > 0.9.8l under cygwin. > > > > I am pretty sure I have do this in the past and not sure what I am doing > wrong. > > > > Thanks for you help. > > > > > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org