Enabling SSL for Services Using Bash Script
This documentation provides a bash script to enable SSL for the services mentioned below.
Click the following link to access the bash script to setup SSL on your ODP environments via bash script: https://github.com/acceldata-io/ce-utils/blob/main/ODP/README.md.
Note that the following bash scripts are RHEL 8 specific.
Prerequisites
Use the provided script to enable SSL in an ODP environment where you have already generated and distributed the Keystore and Truststore JKS files to all nodes.
- HDFS
- Infra-Solr
- Hive
- Ranger
- Spark2
- Kafka
- Hbase
- Spark3
Ensure that you execute this script on the Ambari Server node. Make sure to update the following details within the script files:
- USER: Your Ambari Admin username.
- PASSWORD: Your Ambari Admin user password.
- PORT: The Ambari Server port.
- PROTOCOL: Choose either 'http' or 'https' based on whether Ambari has SSL enabled or not.
- keystore: Confirm that the Keystore file is accessible on all nodes.
- keystorepassword: Provide the Keystore password.
- truststore: Confirm that the Truststore file is available on all nodes.
- truststorepassword: Provide the Truststore password.
For Infra-Solr, a PKCS12 format Keystore and Truststore are required:
- keystore_p12: Ensure that the PKCS12 format Keystore file is present on the Infra-Solr node.
- truststore_p12: Make sure the PKCS12 format Truststore file is available on the Infra-Solr node.
Was this page helpful?