On Wed, Dec 29, 2004, Kai Berger wrote: > Hello, > > I want to convert a rsa-key, generated with the command > > openssl genrsa -des3 -out privkey2.pem 1024 > > to a pkcs12-file > > therefore I use the command > > > openssl pkcs12 -export -in privkey2.pem -out file.p12 > > > but i get the following error: > > No certificate matches private key > > > What am I doing wrong? > Thanks for your help, >
Its usual to include a certificate with a PKCS#12 file so the pkcs12 utility normally expects one. Until recently most (non OpenSSL) based software would misbehave unless a certificate was present. In OpenSSL 0.9.8-dev however you can create a PKCS#12 file without the corresponding certificate using the -nocert option. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. 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 [EMAIL PROTECTED]