Skip to main content
apappu
Gold ⭐️
Gold ⭐️
Feb 24, 2017 1:20 AM UTC

Steps to enable SSL for oozie UI

  • Oct 5, 2026 9:05 AM UTC
  • 2 replies
  • 4471 views
  • Translate All

1. Create keystore file first.

keytool -genkey -keyalg RSA -alias ooziehost -keystore keystore.jks -validity 360 -keysize 2048

2. Login to Ambari server and go to Oozie configurations.

3. Add below configurations under "Advanced oozie-env"

export OOZIE_HTTPS_PORT=11443
export OOZIE_HTTPS_KEYSTORE_FILE=/tmp/keystore.jks
export OOZIE_HTTPS_KEYSTORE_PASS=bigdata

4. Restart Oozie service from UI.

5. Now launch the Oozie UI from quick links - you should be able to access the URL

https://OOZIEHOST:11443/oozie/

Note: Make sure to import the cert into Ambari Truststore.

2 replies

KuldeepK
Gold ⭐️
Gold ⭐️
Nov 1, 2017 4:28 AM UTC

@amarnath reddy pappu - I believe we will have to regenerate war file in secure mode and restart Oozie service again.

su -l oozie -c "/usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war -secure"

Translate
sroberts
Gold ⭐️
Gold ⭐️
Oct 3, 2018 10:18 PM UTC

This would result in the keystore pass being stored in plain-text.

Is there a more secure method of storing the keystore pass?

Translate