If you want to use SSL with Ambari Server (note this is not with Hadoop yet) then follow the below steps. Please note this does not cover the creation of a SSL Cert as there are many tutorials on how to create self signed certs, etc available.
Step 1: Stop the Ambari Server
sudo ambari-server stop
Step 2: Run Ambari Server Security Setup Command
sudo ambari-server setup-security
Select option 1 during the prompts and note that you cannot use port 443 for https as that is reserved in Ambari. The default is 8443 and that is what they recommend. Enter path to your cert /etc/ssl/certs/hostname.cer file. Enter path to your encrypted key /etc/ssl/private/hostname.key file. Follow the rest of the prompts.
Step 3: Start Ambari Server
sudo ambari-server start
Step 4: Login to Ambari Server now available at https://hostname:8443