> Chris Kopp wrote:
> 
> When I try to strip the password encryption off of the private key, as
> described below, I get the following error:
> 
> req -key keyrq.txt -keyout test.key -nodes -config openssl.cnf
> unable to load Private key
> 344:error:02001002:system library:fopen:system
> lib:tmp32dll\bss_file.c:103:fopen('.oids.oid','r')
> 344:error:2006D002:BIO routines:BIO_new_file:system
> lib:tmp32dll\bss_file.c:105:
> 344:error:0906D06C:PEM routines:PEM_read_bio:no start
> line:.\crypto\pem\pem_lib.c:566:error in req
> 
> Can anyone offer any assistance on this?
> 

Wrong command... use rsa or dsa as appropriate e.g.

openssl rsa -in encryptedkey.pem -out key.pem

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]

Reply via email to