Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After I have installed Jenkins (on Windows), the program folder contains, among others, two files:

  • identity.key (28 lines)

    -----END RSA PRIVATE KEY-----
  • secret.key (64 characters)


(I've already asked on the Jenkins mailing list, but didn't get any response there.)

Can anyone explain what these two files are used for by Jenkins/Hudson?

I'm specifically interested whether:

  • I need to backup them?
  • they are machine specific, i.e. if I need to do anything about these files when moving the Jenkins/Hudson server to a different machine.
share|improve this question
up vote 3 down vote accepted

According to the Internet: What are the .key files for?

Short story:

I strongly suggest backing up the files somewhere. As already mentioned in this thread, the secret.key is used to encrypt sensitive data in configuration files, e.g. the proxy password in update center. Without the key file these configuration values are useless.

share|improve this answer
Jenkins groups are currently hosted on Google Groups:… – Martin Jul 20 '11 at 14:44

Your Answer


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.