4

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.
3

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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