Configuring TLS/SSL for HDFS
You must enable TLS/SSL HDFS properties, TLS/SSL Client TrustStore properties, and allow web UI authentication.
- You must enable Hadoop TLS/SSL Enabled in CORE_SETTINGS before configuring the HDFS properties.
- Enabling TLS/SSL on HDFS is required before enabling TLS/SSL on YARN.
Procedure to enable Hadoop TLS/SSL Enabled
- Log in to Cloudera Manager.
- Navigate to Clusters.
- Select CORE_SETTINGS.
- Go to Configurations.
- Search for Hadoop TLS/SSL Enabled and select the checkbox.
- Click Save Changes.
Procedure to configure the HDFS properties
- Log in to Cloudera Manager.
- Navigate to Clusters.
- Select the HDFS service
- Go to Configurations.
- Search for TLS/SSL.
- Search for the following properties and configure them according to your
cluster configuration:
- Hadoop TLS/SSL Server Keystore File Location
- Hadoop TLS/SSL Server Keystore File Password
- Hadoop TLS/SSL Server Keystore Key Password
Property Description Hadoop TLS/SSL Server Keystore File Location Path to the keystore file containing the server certificate and private key. Hadoop TLS/SSL Server Keystore File Password Password for the server keystore file. Hadoop TLS/SSL Server Keystore Key Password Password that protects the private key contained in the server keystore. TLS Cipher List The list of SSL/TLS cipher suites to be used.
When set in the global Cloudera Manager settings, it establishes the default list of cipher suites. However, this global setting is not directly applied to Cloudera Manager itself or any services unless explicitly configured to do so. For services, this property can be set to
{{COPY_FROM_GLOBAL}}(recommended option) to ensure consistency by inheriting the globally defined cipher suites or it can be set to a custom list of SSL/TLS cipher suites. It is important to note that the Cloudera Manager server’s own supported cipher suites are not affected by changes to this configuration.Supported SSL/TLS versions The SSL/TLS protocol versions to accept HTTPS connections from. The available cipher suites also affect which protocol versions can be negotiated, and some cipher suites are only available in higher versions. - Click Save Changes.
Procedure to configure the TLS/SSL Client TrustStore properties:
If you are not using the default trustore, then perform the below steps:
- Log in to Cloudera Manager.
- Navigate to Clusters.
- Select the HDFS service
- Go to Configurations.
- Search for TLS/SSL.
- Search for the following properties and configure them according to your cluster
configuration:
- Cluster-Wide Default TLS/SSL Client Truststore Location
- Cluster-Wide Default TLS/SSL Client Truststore Password
Property Description Cluster-Wide Default TLS/SSL Client Truststore Location Path to the client truststore file. This truststore contains certificates of trusted servers, or of Certificate Authorities trusted to identify servers. Cluster-Wide Default TLS/SSL Client Truststore Password Password for the client truststore file. - Click Save Changes.
Procedure to enable web UI authentication
If you want to enable web UI authentication for the HDFS service, perform the below steps:
- Log in to Cloudera Manager.
- Navigate to Clusters.
- Select the HDFS service
- Go to Configurations.
- Search for the Enable Authentication for HTTP Web-Consoles property.
- Select the checkbox.
- Click Save Changes.
