ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <>
Subject [jira] [Updated] (AMBARI-9556) Knox installation does not create correct gateway-identity cert
Date Tue, 17 Feb 2015 21:07:12 GMT


Srimanth Gunturi updated AMBARI-9556:
    Assignee: Sumit Gupta  (was: Srimanth Gunturi)

> Knox installation does not create correct gateway-identity cert
> ---------------------------------------------------------------
>                 Key: AMBARI-9556
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.0.0
>            Reporter: Sumit Gupta
>            Assignee: Sumit Gupta
>             Fix For: 2.0.0
>         Attachments: AMBARI-9556.patch
> During startup of knox (after install), a cert file is generated using the knoxcli tool
and passing in the hostname that knox is on. There is a check for this generation to occur
if it hasn't been done before. The check is for the existance of the gateway cert store file.
This is done correctly in Ambari 1.7 but the check in 2.x is now against the wrong file. This
results in the command never getting executed and the knox server creating a default cert
on startup which has 'localhost' in it as the CN instead of the actual hostname.
> This commit shows where the correct check is lost. 

This message was sent by Atlassian JIRA

View raw message