Needing to change or set the secure password for Jetty on the Enterprise Manager.
This information is for APM 9.5, but should apply to most versions of APM. Also, the Jetty version was 6.1.26.
This will allow you to change the password for Jetty to make the password secure and not 'password"
Steps to make the change
When needing to change or reset the password for Jetty, do the following:
-Find the file jetty-util-<version>.jar (ex: jetty-util-6.1.26.jar), Once you find it, then change to the folder where it was found.
Here is a Windows example for the file: (ex. C:\CA APM\Introscope126.96.36.199\product\enterprisemanager\configuration\org.eclipse.osgi\bundles\171\1\.cp)
And a Linux equivalent: (ex. /root/Introscope188.8.131.52/product/enterprisemanager/configuration/org.eclipse.osgi/bundles/129/1/.cp)
- To run these commands, go to the Command Line Interface and make sure that you are in the correct folder:
java -cp jetty-util-6.1.26.jar;jetty-6.1.26.jar org.mortbay.jetty.security.Password <user> <new password>
(Windows will use the ";" Semicolon and Unix will use the ":" colon)
-Once this change is complete then also update the new password in em-jetty-config.xml.
Refer to the"APM Configuration and Administration Guide" section: Modify the em-jetty-config.xml to set the password.
Depending on the the Jetty version, the command may be a little different. If you Google Search for "org.mortbay.jetty.security.Password", then you will find any differences or explanations.