Cluster Security
Nodes in a Data Hub cluster communicate over SSL by default. If required, you can customize some aspects of the SSL configuration.
Data Hub ships with a default SSL configuration that you may use in a test environment with no additional setup. When setting up a cluster in a production environment, however, we recommend that you generate an SSL keystore and truststore of your own. Propagate these files to all nodes, then define the path to the keystore directory, and the passwords in the configuration of each node. This configuration is described in Setting Up a Cluster. These steps are the minimum you must do to ensure a secure and functioning Data Hub cluster.
Additionally, Data Hub exposes a number of configuration properties you may use to customize your SSL configuration to suit your needs. These properties can be set in your <CATALINA_OPTS>, together with the other aspects of your cluster configuration. For example, you may wish to change the default keystore and truststore file names, or specify a different encryption algorithm. See the full list of available security properties in the following table.
|
Property |
Default |
Description |
|---|---|---|
|
datahub.cluster.ssl.workingDirectory |
./ (the local directory from where Data Hub starts up) |
The path to the directory containing the SSL keystore on the local filesystem. When overriding the default, specify an absolute path. |
|
datahub.cluster.ssl.keystore.filename |
datahub.jks |
The name of the SSL keystore file. |
|
datahub.cluster.ssl.keystore.keypass |
123456 |
The password for accessing the key in the keystore. Specify your own, secure password in a production environment. |
|
datahub.cluster.ssl.keystore.storepass |
123456 |
The password for accessing the keystore. Specify your own, secure password in a production environment. |
|
datahub.cluster.ssl.truststore.filename |
ydevelopers.jks |
The name of the SSL truststore file. |
|
datahub.cluster.ssl.truststore.storepass |
123456 |
The password for accessing the truststore. Specify your own, secure password in a production environment. |
|
datahub.cluster.ssl.protocol |
TLSv1.2 |
The SSL protocol and version to be used. |
|
datahub.cluster.ssl.random-number-generator |
|
The pseudo-random number generator to be used for generating SSL session keys. |
|
datahub.cluster.ssl.enabled-algorithms |
TLS_RSA_WITH_AES_128_CBC_SHA |
A comma-separated list of supported encryption algorithms. Recommended algorithms include:
|
Use the same SSL configuration on all nodes to ensure a functioning, and secure cluster.