如何使用openssl验证P12证书? [英] how to verify a P12 certificate using openssl?
本文介绍了如何使用openssl验证P12证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谁能告诉我如何使用 openssl 验证基于密码的 P12 文件?逻辑或示例代码会很有帮助.
Can anyone tell me how to verify the Password-based P12 file using openssl? Logic or sample code will be much helpful.
推荐答案
您可以找到以下代码示例:
- 用密码打开一个 pkcs#12 文件
- 提取私钥和证书
You can find a code sample that :
- opens a pkcs#12 file with password
- extracts the private key and certificates
在 openssl 源代码中:
in the openssl source code at :
./demos/pkcs12/pkread.c
这篇关于如何使用openssl验证P12证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文