Trying with openssl I have found the following two commands to do the conversion: openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer With your private key in hand, you can use the following command to see the key's details, such as its modulus and its constituent primes. Remember to change the name of the input file to the file name of your private key. $ openssl pkey -in private-key.pem -text The above command yields the following output in my specific case. openssl s_client -showcerts -verify 5 -connect stackexchange.com:443 < /dev/null That will show the certificate chain and all the certificates the server presented. Now, if I save those two certificates to files, I can use openssl verify: openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer Convert PFX to PEM. openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes To go a bit deeper, the CSR is generated using the private key. If at all possible I would consider creating a new keystore in OpenSSL and new keys rather than trying to pry out the private key from the Java keystore. By opening the Java keystore and extracting the private key one is moving beyond the designed security features.
[index]          
This tutorial will help you to import your blockchain.info's private key which was exported here https://www.youtube.com/watch?v=yr9tF-xWN3s Website link: ht... This video is unavailable. Watch Queue Queue. Watch Queue Queue OpenSSL Programming Tutorials#1: RSA private key generation ... Openssl 4,848 views. 20:26. Brute-force your Bitcoin wallet - part 2 - btcrecover ... How to export private key on Blockchain.info ... Create a 2048 bit private key with openssl. openssl genrsa -out private.key 2048. Get your private keys from the Android Bitcoin Wallet with OpenSSL - Duration: 11:13. Bitcoin Daytrader 17,458 views. ... How to export private key on Blockchain.info - Duration: 6:22. Blank Verse ...