Can’t Obfuscate password for SSL implementation on ALM?
Question ID: 110010
0
0

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

Marked as spam
Posted by (Questions: 379, Answers: 35)
Asked on January 27, 2021 3:45 pm
205 views
Answers (1)
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" org.eclipse.jetty..util.security.Password changeit 
and it should be:
C:>java -cp "C:ProgramDataMicro FocusALMserverlibjetty-util-9.4.19.v20190610.jar" org.eclipse.jetty.util.security.Password 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?

 

Dan

Marked as spam
Posted by (Questions: 0, Answers: 770)
Answered on January 27, 2021 3:48 pm
0
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)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top