I have a certificate and key pair exported from Internet Explorer in PFX format. I'd like to convert this PKCS#12 formated file to PKCS#15 to use it with crtyptlib: http://www.cs.auckland.ac.nz/~pgut001/cryptlib
I tried with the following tools, maybe it will assist to the answer:
$> openssl pkcs12 -in infile.pfx -out outfile.pem
Then I've tried to use this tool: http://www.oryx.com/ams/pemtrans.html
but with no success.
I've decrypted the KEY part of the PEM file with the following command:
$> openssl rsa -in infile.pem -out outfile.key
But the pemtrans complains about a bad certificate file. Maybe I'm close, but the time is short :(
Thanks for help!