Michael Zedeler wrote:
>
> Hi there,
>
> I would like to know if there is anybody who knows how to convert a key
> generated by Microsoft Certificate Manager can be exported or converted
> to PEM-format. So far I managed to export the key, but the result is a
> file containing some sort of binary encoding. The first bytes of the
> file are:
>
> KBRK____New Key_____0�_v__private-key
>
I think I've mentioned this before but just in case...
Try:
openssl rsa -inform NET -in file.key -out key.pem
Some of these 'key' files have some header stuff in there so if this
doesn't work get a binary editor and look for the string "private-key"
trace back to the hex bytes 30 82 then save from that point onwards to
another file and try the command again.
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]