Can’t Obfuscate password for SSL implementation on ALM?

Question ID: 110010


  I am trying to obfuscate our password during the installation of ALM.
Page 121-122. (Step 6 a-c) as shown below:

6. (Strongly recommended) To obfuscate the password, perform the following steps:

a. Determine the version of Jetty that you are using. Locate the <ALM Deployment
Folder>\server\lib\jetty-util-<your-jetty-version>.jar file. <your-jetty-version> is the
version of Jetty you are using.

b. Open Command Prompt (cmd) and run the following commands:
$ set JETTY_VERSION=<your-jetty-version>
<JAVA_HOME>\java -cp <ALM Deployment Folder>\server\lib\jetty-util-
$JETTY_VERSION.jar <password>
For example, if you run the following command:
“C:\Program Files\java\jre\bin\java.exe” -cp <ALM deployment
folder>\server\lib\jetty-util-9.1.4.v20140401.jar changeit
The output will appear as follows:

I performed the above and the following command and obfuscation of password ‘changeit” does not work…. it seems the class is not in the jar file anymore….

see command line execution below (as admin BTW)
C:\>java -cp “C:\ProgramData\Micro Focus\ALM\server\lib\jetty-util-9.4.19.v20190610.jar” changeit

Error: Could not find or load main class


What may I be missing or doing wrong?


Thanks for any help,


Marked as spam
Posted by (Questions: 340, Answers: 26)
Asked on January 27, 2021 3:45 pm
Answers (1)
Private answer

Hi HomerJ,

That should work as you have it. I did notice in your posting of the org.eclipse statement you listed as being used on the command line, you have two periods where there should only be one. Is a typo on your case update or is this a copy and paste from what you were using in actuality?   You posted C:>java -cp "C:ProgramDataMicro FocusALMserverlibjetty-util-9.4.19.v20190610.jar" changeit 
and it should be:
C:>java -cp "C:ProgramDataMicro FocusALMserverlibjetty-util-9.4.19.v20190610.jar" changeit 

with only one period after jetty in the statement


I have encountered these type of mistypes in the past, could this be the case here as well?



Marked as spam
Posted by (Questions: 0, Answers: 735)
Answered on January 27, 2021 3:48 pm
Thank you for the second set of eyes as that was it and deleting the extra period now works as specified.
( at January 27, 2021 3:49 pm)