File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 1036
    
  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.
 
wood burning stoves
 
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