Context:
Customer uses SSL with their own certificates. According to the documentation, passwords needs to be added in plain (readable) text format in the config file called jetty-ssl.xml and jetty-ssl-terminalapi.xml.
Issue:
Request is to create a possibility to encrypt passwords before they are added into the file.
How to:
This is how to obfuscate the password:
- Open a command prompt
- CD to <EOP install dir>
- Type the following command:
jre\bin\java -cp "lib\jetty-6.1.26.jar;lib\jetty-util-6.1.26.jar" org.mortbay.jetty.security.Password <user-name> <password>
-
replace <user-name> with any value, and <password> with the password you want to obfuscate
-
Now you can copy the resulting 'OBF:xxxxxxxx' value to the XML config file (including OBF: prefix)
Comments
0 comments
Please sign in to leave a comment.