This article describes how to avoid storing passwords for SSL in plain text in GemFire properties.
When using SSL with GemFire passwords can be secured by adding them to gfsecurity.properties. In this case passwords are stored in plain text but the access rights to gfsecurity.properties can be set to narrower group of users than what is used for gemfire.properties.
Encrypt the passwords using
gfsh > encrypt password --password=XXXXX
Pass the encrypted passwords this way. For example,
connect --jmx-manager=localhost[1099] --key-store=/path/to/my/keystore --key-store-password=encrypted(C3CDC3485F7FF643D28F62E9B1335749) --trust-store=/path/to/my/truststore --trust-store-password=encrypted(C3CDC3485F7FF643D28F62E9B1335749) --use-ssl
Applies to
GemFire 7 and 8