简体   繁体   中英

Convert PKCS7 certificate to PKCS12 in JAVA

I need to convert PKCS7 certificate to PKCS12. I got function which return PKCS7 certificate format and in order to put this certificate to IBM certificate manager I need to convert this certificate to PKCS12 PEM format. Do you have any idea how to do that. I'm using JAVA.

Try using the following command to convert PKCS7 to PEM: openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem

link

Or you can also use the SSL Shopper converter: https://www.sslshopper.com/ssl-converter.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM