- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-26-2018 08:59 PM
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
06-27-2018 01:13 AM - edited 06-27-2018 01:18 AM
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.
06-27-2018 02:15 AM
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
06-27-2018 02:56 AM
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.
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!