Import kerberos keytab from CLI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Import kerberos keytab from CLI?

L0 Member

Hi,

 

Is it possible to import the kerberos keytab file directly from CLI rather than using the GUI? 

 

I have noticed that if the keytab is imported via GUI, the command below is added to the config.

 

set shared authentication-profile my_profile single-sign-on kerberos-keytab **** (actual value removed)  

 

But if I want to use this command directly on CLI (for the reason of automation), how do I obtain/convert the **** from the actual keytab file?

 

Regards,


Andrew

3 REPLIES 3

Community Team Member

Hi @andrew.hho,

 

The CLI command is exactly as you saw in the config and needs to be executed in config mode :

 

admin@PA-200> configure
admin@PA-200# set shared authentication-profile <name> single-sign-on kerberos-keytab <value>

 

and don't forget to commit ^_^

 

Cheers !

-Kiwi.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Hi Kiwi,

 

Thanks for the reply. My question is what is the <value> to use? How do I obtain the <value> from the actual keytab file?  

 

Regards,

 

Andrew

Community Team Member

Hi @andrew.hho,

 

The mentioned CLI command actually allows you to select keytabs which you already imported through the GUI.

I've been looking for the command to import the actual keytab file using CLI but am unable to find it with the "find command".

 

Unless I'm missing something it doesn't currently seem to be an option ... feature request ?

 

Cheers !

-Kiwi.

 

 

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.
  • 2362 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!