Creating a Keytab File on Linux
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
On Linux platforms, the services.keytab file is created as follows:
-
In a shell window, use
kadmin.localto start the Kerberos administration command-line tool. -
Use the
addprinccommand to add the principal to Kerberos. -
Use the
ktaddcommand to generate theservices.keytabfile for the principal.For example, to create a
services.keytabfile for the host namedmysrvr.marklogic.com, do the following:$ kadmin.local > addprinc -randkey HTTP/mysrvr.marklogic.com > ktadd -k services.keytab HTTP/mysrvr.marklogic.com -
Copy the
services.keytabfrom the Linux Kerberos server to the MarkLogic Server data directory on your MarkLogic Server.