Jana Nguyen wrote:
> Hi,
>
> I've been using the NSS pkcs12util to get the credential out of the
> browser in pkcs12 format.  But I now need to get the public and
> private key out of pkcs12 and into "PEM" format.  Is this possible
> with mozilla tool out there?
>
> Or is it possible for NSS tool to get the credential out of the
> browser in "PEM" format instead of pkcs12?
>   
no it is not possible. 

take your PKCS#12 formatted file and convert it to a pem file using openssl

http://www.openssl.org/docs/apps/pkcs12.html

Parse a PKCS#12 file and output it to a file:

openssl pkcs12 -in file.p12 -out file.pem


-glen

> Thanks.
> _______________________________________________
> dev-tech-crypto mailing list
> [EMAIL PROTECTED]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>   

_______________________________________________
dev-tech-crypto mailing list
[EMAIL PROTECTED]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to