The “Password” Class is missing from the ALM deployment for the Password encryption part of the SSL stuff.
CAREFUL with my paths - I had to add spaces around \ / // or \\
- Get JAR containing Password class here:
http: // www.java2s.com / Code / Jar / o / Downloadorgeclipsejettyhttpjar.htm
- Get ZIP called org.eclipse.jetty.http.jar.zip
Unzip to jar and place on ALM server in this folder:
C: \ ProgramData \ HP \ ALM \ server \ lib
- Launch a command window and navigate to JAVA "bin" directory (similar to c:program filesjavajre1.8.0_221bin)
- From command prompt, run the following command:
java -cp "<DEPLOYMENT_HOME> \ server \ lib \ org.eclipse.jetty.http.jar" org.eclipse.jetty.http.security.Password <password>
- For example:
java.exe -cp "C: \\ ProgramData \ HP \ ALM \ server \ lib \ org.eclipse.jetty.http.jar" org.eclipse.jetty.http.security.Password changeit
- The output will like this (for the password 'changeit'):
changeit
OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
MD5:b91cd1a54781790beaa2baf741fa6789
(note: MD5 may generate error - it did for me recently)
Then, the user can replace the plain text password in Jetty.xml file, including the 'OBF:' prefix. This can
protect passwords from casual observation.