You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Charles Hedrick (JIRA)" <ji...@apache.org> on 2018/06/04 19:51:00 UTC

[jira] [Created] (AMBARI-24028) can't do ldap sync with ambari on https

Charles Hedrick created AMBARI-24028:
----------------------------------------

             Summary: can't do ldap sync with ambari on https
                 Key: AMBARI-24028
                 URL: https://issues.apache.org/jira/browse/AMBARI-24028
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.0
            Reporter: Charles Hedrick


I converted ambari to https. Then I tried to do ldap sync. Got an error that 127.0.0.1 didn't match my hostname. ldap sync starts by making a connection to the ambari server. That needs to done using https, which require the certificate the match the hostname. But by hardcoding 127.0.0.1 as the hostname, you generate a mismatch. 

in /usr/lib/python2.6/site-packages/ambari_server/serverUtils.py, SERVER_API_HOST needs to be computed, not hardwire. By hardwiring it to my hostname I got things to proceed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)