如何将 .p12 转换为 .crt 文件? [英] How to convert .p12 to .crt file?

查看:64
本文介绍了如何将 .p12 转换为 .crt 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我从 .p12 文件中提取/转换证书 .crt 文件的正确方法/命令?我搜索后.我找到了如何将 .pem 转换为 .crt 的方法.但没有找到 .p12 到 .crt.

Can anyone tell me the correct way/command to extract/convert the certificate .crt file from a .p12 file? After I searched. I found the way how to convert .pem to .crt. but not found .p12 to .crt.

推荐答案

用给定的命令试试

openssl pkcs12 -in filename.p12 -clcerts -nokeys -out filename.crt

这篇关于如何将 .p12 转换为 .crt 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆