Hello,
I am trying to obfuscate our password during the installation of ALM.
https://admhelp.microfocus.com/alm/en/15.5/pdfs/Install_Windows.pdf
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 org.eclipse.jetty.util.security.Password <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
org.eclipse.jetty.util.security.Password changeit
The output will appear as follows:
changeit
OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
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” org.eclipse.jetty..util.security.Password changeit
Error: Could not find or load main class org.eclipse.jetty..util.security.Password
What may I be missing or doing wrong?
Thanks for any help,
HomerJ