且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从.SPC(代码签名证书)和.PKCS12(私钥)生成PKCS12(.p12)?

更新时间:2023-01-18 16:50:31

老实说,我根本无法理解您要尝试执行的操作。

To be honest I can not understand at all what you are trying to do.

您取回了SPC文件,该文件只是带有证书的#PKCS7 der编码。

You got back the SPC file which is just the #PKCS7 der encoding with your certificate.

您还拥有私钥。

所有您需要做的就是将证书导入pkcs12密钥库,以获取带有私钥的签名证书。

All you need to do is import the certificate to the pkcs12 keystore to have the signed certificate with your private key.