Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a keystore on one machine (at /root/.keystore) and I want to move it to another machine at the same location. Currently, the second machine doesn't have a keystore at /root/.keystore, is there a way I can export then create/import? Or do I need to create an empty one first?

share|improve this question
    
cant you just copy the .keystore file to another location? –  joni Jan 9 '12 at 21:44

1 Answer 1

up vote 5 down vote accepted

Keystores are simply files with in a format used by java for keystores. They do not contain any information which ties them to a particular system. They can be freely copied between systems and directories as required.

They may be password protected, in which case you may need to arrange to have the password available to the software using it. There is a keytool program which can by used to read and/or update the keystore. It is often possible to read keystores without a password.

Keystore may contain keys tied to a system's domain name. These keys are not as useful on other system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.