I want to take the .cer public key file generated from the java keytool command as follows:
"keytool -export -alias privatekey -file publickey.cer -keystore privateKeys.store"
and import it into a new, empty java repository like this:
"keytool -import -alias publiccert -file publickey.cer -keystore publicCerts.store"
except that I want to do import programmatically using JSSE.
Overlapping the stack, work with your magic! Thanks!
java jsse
JP
source share