小编Moh*_*aei的帖子

使用openssl将多个证书加载到PKCS12中

我正在尝试使用openssl将多个证书加载到PKCS12格式中.命令如下:

openssl pkcs12 -export -in cert1.arm -inkey cert1_private_key.pem -certfile cert2.arm -certfile cert3.arm -certfile RootCert.pem -name "Test" -out test.p12
Run Code Online (Sandbox Code Playgroud)

解析生成的PKCS12文件后,只有最后一个证书已包含在文件中:

openssl pkcs12 -in test.p12 -info -nodes
Run Code Online (Sandbox Code Playgroud)

我还尝试将它们单独导入到pkcs12文件中,而在所有尝试中,只有最后一个证书保留在文件中.

有什么想法解决它的问题?

openssl pkcs#12 x509certificate

20
推荐指数
1
解决办法
2万
查看次数

标签 统计

openssl ×1

pkcs#12 ×1

x509certificate ×1