[EMAIL PROTECTED] wrote:
> 
> I want to convert my privatekey from DER to NET format.
> But the openSSL toolkit can't load the key.
> Is there anything wrong with my key? I created it with
> a programm from webMethods. it's called "Certificate Toolkit".
> This toolkit does not provide an option to convert the key in a
> different format. So I have to use the openSSL toolkit.
> 
> Thanks for your help!
> 
> This is the command I use and the error code which openSSL returned
> 
> C:\certs>openssl rsa -in privatekey.der -outform NET -out privatekey.net
> read RSA key
> unable to load key
> 339:error:0906D06C:PEM routines:PEM_read_bio:no start
> line:pem_lib.c:662:Expecti
> ng: ANY PRIVATE KEY

By default that expects PEM format so you at least need -inform DER 

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