Set Up Keytab Authentication Using a Custom Keytab and the Java CS Host Principal
To set up keytab authentication using a custom keytab file rather than the default keytab file and the Java CS host principal, you can add keytab entries for the Java CS host principal to you custom keytab file.
To set up keytab authentication using a custom keytab and the Java CS host principal
kadmin: ktadd -k keytab jcs-host-principal
Note: This creates a new randomized password for the host principal, therefore any entries for the host principal in any existing keytab file are no longer valid.
kadmin: ktadd -k temp_keytab jcs-host-principal
Note: This creates a new randomized password for the host principal, thus any entries for the host principal in any existing keytab file are no longer valid.
ktutil: read_kt temp_keytab
ktutil: write_kt keytab
The temporary keytab file is merged into the keytab file you want to use.
Note: Make sure that the entries for the host principal are the same, and are the latest key version number.
Note: Use * to specify all privileges.
The Kerberos Connector uses the keytab you specified for authentication.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |