Skip to content

Commit

Permalink
0002568: Protect keystore password
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Apr 19, 2016
1 parent ad47f6a commit 5455035
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions symmetric-assemble/src/asciidoc/advanced-topics.ad
Expand Up @@ -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]
Expand Down

0 comments on commit 5455035

Please sign in to comment.