Skip to main content
OmThakare
Silver ⭐️⭐️
Feb 4, 2020 10:00 AM UTC
Solved

how to create new keytab if my previous keytab is expired?

how to create new keytab if my previous keytab is expired?

jsensharma
Platinum ⭐️⭐️
Feb 4, 2020 10:27 AM UTC

@OmThakare 
Are you managing keytabs/kerberos using Ambari?

If yes, then you can regenerate keytabs from Ambari UI. Ambari allows to either regenerate all keytabs or only for specific components on specific hosts.

 

Regenerating keytabs for all hosts in the cluster is a disruptive operation, and requires all components to be restarted. Optionally, keytabs can be regenerated only for missing hosts and components, and this operation requires selectively restarting those affected hosts and services.

 

https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/managing-and-monitoring-ambari/content/amb_regenerate_kerberos_keytabs_from_ambari_web.html

.

If you are not not using Ambari to manage kerberos then  Following link describes How to create service principals and keytab files

https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/security-reference/content/kerberos_nonambari_creating_service_principals_and_keytab_files_for_hdp.html

 

3 replies

jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Feb 4, 2020 10:27 AM UTC

@OmThakare 
Are you managing keytabs/kerberos using Ambari?

If yes, then you can regenerate keytabs from Ambari UI. Ambari allows to either regenerate all keytabs or only for specific components on specific hosts.

 

Regenerating keytabs for all hosts in the cluster is a disruptive operation, and requires all components to be restarted. Optionally, keytabs can be regenerated only for missing hosts and components, and this operation requires selectively restarting those affected hosts and services.

 

https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/managing-and-monitoring-ambari/content/amb_regenerate_kerberos_keytabs_from_ambari_web.html

.

If you are not not using Ambari to manage kerberos then  Following link describes How to create service principals and keytab files

https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/security-reference/content/kerberos_nonambari_creating_service_principals_and_keytab_files_for_hdp.html

 

Translate
OmThakare
OmThakareAuthor
Silver ⭐️⭐️
Feb 4, 2020 10:49 AM UTC

I am using Ad kerberus and sentry for security.

Translate