convert .pfx to .pem

1. full convertion from .pfx to .pem

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

2. certificate convertion only
openssl pkcs12 -in file.pfx -out certificate_only.pem -nokeys

3. key convertion only
openssl rsa -in file.pfx -out key.pem

 

posted @ 2014-06-09 15:56  sadcat  阅读(198)  评论(0编辑  收藏  举报