This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 1035
    
  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.
 
 
subject: Any issues with deploying keystore to another computer?
 
Similar Threads
KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to receive message javax.net.ssl.SSLKeyE
Which database should I use in java swing?
CERTivity KeyStores Manager 1.2 Released
Excel file gets corrupted when decrypting in weblogic 10.3