Obfuscating passwords

You can obfuscate passwords to convert them to an unreadable format. To obfuscate Password and KeyPassword, complete the steps in this topic.

Procedure

  1. Change the directory to CHANGE_HOME/jetty.
  2. Locate the following section, and then replace thepassword with your password.

    java –classpath lib/org.mortbay.jetty.jar;ext/commons-logging-api.jar org.mortbay.util.Password thePassword

    Three lines of data are displayed in the file:

    thepassword

    OBF:1vv31w8l1v1x1yt41v1p1ym71v2p1yti1v2h1w951vu7

    MD5:3c41ff681c1e3dcb68b4d8573bf1c74c

  3. Copy the entire line starting with OBF, and then replace the password in the jetty.xml file with the password you just obfuscated.

Feedback