From 545503589039936580e35f8aeb93fc90e7634127 Mon Sep 17 00:00:00 2001 From: elong Date: Tue, 19 Apr 2016 16:25:17 -0400 Subject: [PATCH] 0002568: Protect keystore password --- symmetric-assemble/src/asciidoc/advanced-topics.ad | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/symmetric-assemble/src/asciidoc/advanced-topics.ad b/symmetric-assemble/src/asciidoc/advanced-topics.ad index c55d1f7010..38417f9b7f 100644 --- a/symmetric-assemble/src/asciidoc/advanced-topics.ad +++ b/symmetric-assemble/src/asciidoc/advanced-topics.ad @@ -306,6 +306,14 @@ keytool -keystore keystore -storetype jceks -alias sym -keypasswd keytool -keystore keystore -storetype jceks -alias sym.secret -keypasswd ---- +* (Optional) Obfuscate the password to prevent casual observation from the configuration files. An obfuscated password starts with "obf:" +while a cleartext password does not. + +[source, cli] +---- +syadmin obfuscate-text changeit +---- + * Edit `bin/setenv` (or `bin\setenv.bat` on Windows) and `conf/sym_service.conf` files to find a similar line as below to change the password. [source, cli]