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.

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

  • identity.key (28 lines)

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

    d6....38
    

(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

1 Answer 1

up vote 2 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: groups.google.com/group/jenkinsci-dev/browse_frm/thread/… –  Martin Jul 20 '11 at 14:44

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.