forked from thelastpickle/cassandra-reaper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> This is a combination of 5 commits. > This is the 1st commit message: Enable errexit > This is the commit message thelastpickle#2: Refactor JAR search logic This adds to code reuse. > This is the commit message thelastpickle#3: A bit more concise CONFIG_PATH selection Not really useful, but avoids the unnecessary string literal duplication. > This is the commit message thelastpickle#4: Refine REAPER_JAR search Do not search from '/' to avoid log cluttering and save startup time. And anyway, searching from '/' kills the very idea of searching for a *user* JAR (as apposed to a system JAR) and also makes the search result less predictable (as *all* JARs will eventually be found). The main motivation was that systemd services start with '/' as the working directory, so the system log gets filled with errors on each service start. While b970844 fixes searching from '/' for systemd service, still an explicit check pursues additional goals. > This is the commit message thelastpickle#5: Add SSL/TLS support To support clusters that have their JMX protected with SSL/TLS encryption, let us allow to configure the respective Java parameters.
- Loading branch information
Showing
3 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Cassandra Reaper SSL Configuration Example. | ||
# | ||
# * Replace keyStore/trustStore parameter values with the real paths to | ||
# your credentials files. | ||
# * Replace keyStorePassword/trustStorePassword parameter values with the | ||
# real passwords protecting your files. | ||
# | ||
# In case some parameters are not applicable to your SSL configuration, | ||
# just comment out the respective lines. | ||
# | ||
# After filling in the real values, always make sure the resulting file | ||
# has appropriate permissions set. | ||
|
||
-Djavax.net.ssl.keyStore=/path/to/keystore.jks | ||
-Djavax.net.ssl.keyStorePassword=keystore_password | ||
|
||
-Djavax.net.ssl.trustStore=/path/to/truststore.jks | ||
-Djavax.net.ssl.trustStorePassword=truststore_password | ||
|
||
-Dssl.enable=true |