I have been provided an existing project that connects securely to a server. I have been provided 6 private keys for test and production environment. I have also been told provided a new certificate and been told that the old certificate has expired. So i need to import the new certificate into the keystore using the different private keys. Can anyone help me how to do this? I have searched on the internet but am not really clear about the public/private key concepts.
Sajjad Dar wrote:The private keys are PGP keys sample is follow
So the sample private key is now far from being private!
Bouncy Castle has a library that allows one to perform PGP cryptography operations though I would be surprised if you really wanted to import a PGP private key into a Java keystore. Google is your friend.
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!