This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Security and the fly likes Any issues with deploying keystore to another computer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "Any issues with deploying keystore to another computer?" Watch "Any issues with deploying keystore to another computer?" New topic
Author

Any issues with deploying keystore to another computer?

cle tan
Ranch Hand

Joined: Jun 11, 2012
Posts: 68
Assuming I have created a keystore and private key using java keytool using the following command on Computer 1.

keytool -genkey -dname "CN=abc" -alias abc -keyalg "RSA" -keysize 1024 -sigalg "SHA256WITHRSA" -validity 365 -keystore "DEF.jks"

Then I use portecle to open this keystore and generate Cert Request

After I import CA reply, can I use that keystore(.jks) file on Computer 2?
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1064
    
  10

cle tan wrote:
After I import CA reply, can I use that keystore(.jks) file on Computer 2?


A keystore is not tied to a particular computer so yes you can use it on a second computer.
 
GeeCON Prague 2014
 
subject: Any issues with deploying keystore to another computer?