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. - 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.