Created 07-17-2017 10:45 AM
Hi All,
We are trying to kerberize cluster using Centirfy with pre created AD Accounts and Keytabs . So far we are able kerberize with following approach.
But in reaches to point till creation of principal and gets failed. So, Is there any procedure which can skip procedure of "create principal" and "create keytabs", as it is already created and placed at respective hosts.
Created 07-17-2017 03:13 PM
There are a few articles on HCC related to enabling Kerberos using Ambari when Centrify is involved. For example:
However if you wish to have Ambari skip creating keytab files and principals, you can use the Enable Kerberos Wizard and choose the "manual" option. This will allow Ambari to configure the services while allowing you to manually manage the underlying Kerberos infrastructure and identities (principals and keytab files).
Created 07-17-2017 03:13 PM
There are a few articles on HCC related to enabling Kerberos using Ambari when Centrify is involved. For example:
However if you wish to have Ambari skip creating keytab files and principals, you can use the Enable Kerberos Wizard and choose the "manual" option. This will allow Ambari to configure the services while allowing you to manually manage the underlying Kerberos infrastructure and identities (principals and keytab files).
Created 07-23-2017 05:48 PM
Thanks Robert for your quick reply.
Is there any REST API or Ambari Blueprint option which supports "Manual " way of kerberization.
Created 07-24-2017 09:16 AM
You can specify that you do not want Ambari to manage the underlying Kerberos infrastructure (MIT Kerberos library, kb5.conf, principals, and keytab files) using the API or Blueprints by setting the following configurations:
kerberos-env/kdc_type = "none" kerberos-env/manage_identities = false kerberos-env/install_packages = false krb5-conf/manage_krb5_conf = false
Technically, you can pick and choose which features you want Ambari to, or not to handle; but the above setting are what the UI sets when you choose the "manual" option.
See https://github.com/apache/ambari/blob/trunk/ambari-server/docs/security/kerberos/enabling_kerberos.m... for more information on using the API to enable Kerberos.
Created 09-19-2017 07:45 AM
Thanks @Robert Levas, problem solved with your solution.