etoxarr> # Generating PKCS#12 files
etoxarr> openssl pkcs12 -export -in selfsigned.pem -out selfsigned.p12 -name
etoxarr> "selfsigned"
etoxarr>
etoxarr> The last command fails with the following error message:
etoxarr>
etoxarr> Error loading private key
etoxarr> 13372:error:0906D06C:PEM routines:PEM_read_bio:no start
etoxarr> line:pem_lib.c:662:Expecting: ANY PRIVATE KEY
etoxarr>
etoxarr> Do you have any tips of how to solve this?
"ANY PRIVATE KEY" should give you a hint. selfsigned.pem does not
contain the private key. The solution is the following:
openssl pkcs12 -export -in selfsigned.pem -out selfsigned.p12 -name \
"selfsigned" -inkey key.pem
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
Re: openSSL pkcs12: Generating self signed .p12 file
Richard Levitte - VMS Whacker Wed, 8 Mar 2000 02:50:30 -0800
- openSSL pkcs12: Generating self signed .p12... Riiber Arne AV/G(NES/ETO/I/KE)
- Re: openSSL pkcs12: Generating self si... Lutz Jaenicke
- Re: openSSL pkcs12: Generating self si... Richard Levitte - VMS Whacker
- Re: openSSL pkcs12: Generating self si... Dr Stephen Henson
- Re: openSSL pkcs12: Generating self si... Sadir Al-khafaji
- RE: openSSL pkcs12: Generating self si... Arne Riiber(ETO)
