Hi all,

        I've been searching on how to convert MS .pvk to .pem format for
3eti's wireless crypto client.
I've searched and came up with the pvk tool, which works, on 32 bit Linux
only.

On a 64 bit box, which is where I'd like to run this, I get:

./pvk -in user.pvk -out user.pem
Error reading key
30532:error:80068064:lib(128):pvk_read:bad magic number:pvkread.c:122:

I read the thread about stripping of the first 15 bytes, but that didn't
work.

Also, I'd like to be able to script it so our users (there's a lot of them)
can upload their existing file to a secure web server, have it convert it,
send it back to them and delete it from the web server.

I am using 64 bit Gentoo Linux on an Intel box with Apache/2.0.58, PHP
5.1.6-pl6-gentoo, perl, v5.8.8 built for x86_64-linux and openssl-0.9.8d.

Can pvk be patched (I'm not a C coder) to accept a password parameter? Then
I can wrap it with php?
ie: pvk -in user.pvk -out user.pem -inpass 123456 -outpass 123456

Has anyone been down this path, should I be going down this path, or can
anyone please provide pointers to where I should be looking?

Thank you,
Jeff

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to