[ 
https://issues.apache.org/jira/browse/AMBARI-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713283#comment-13713283
 ] 

Tom Beerbower commented on AMBARI-2691:
---------------------------------------

Ganglia
-------

1. Install cluster

2. Create self signed certificate on Ganglia server.  For example ...

{code}
openssl genrsa -out gserver.key 1024 
openssl req -new -key gserver.key -out gserver.csr  !!! -- use hostname for 
common name
openssl x509 -req -days 365 -in gserver.csr -signkey gserver.key -out 
gserver.crt
{code}

3. Install SSL on Ganglia server.
{code}
yum install mod_ssl
{code}

4. Restart httpd service on Ganglia server.
{code}
service httpd restart
{code}

5. Edit SSL configuration on Ganglia server.
{code}
/etc/httpd/conf.d/ssl.conf
{code}

Set the cert and key file names to the files created in step #2.

{code}
SSLCertificateFile    = gserver.crt
SSLCertificateKeyFile = gserver.key
{code}


5. Add cert to the trust store on the Ambari server.

{code}
ambari-server setup-ganglia-https
{code}

The setup script uses the truststore path and password set in the 
ambari.properties file.

{code}
ssl.trustStore.path
ssl.trustStore.password
{code}

If the values are not set then the user will be prompted to enter them.

6. Restart the Ambari server.

{code}
ambari-server restart
{code}
 
                
> Need https support for ganglia/nagios to be able to have https support 
> throughout the stack.
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2691
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2691
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to