Delete unsupported ciphers in the created keytabs by entering the following
commands in Ubuntu.
The following system output provides examples for cleaning up various
ciphers:
slot KVNO Principal
---- ---- ---------------------------------------------------------------------
1 3 HTTP/us-west-2.prisma-abcde12345.proxy.prismaaccess.com@PANW.COM (des-cbc-crc)
2 3 HTTP/us-west-2.prisma-abcde12345.proxy.prismaaccess.com@PANW.COM (des-cbc-md5)
3 3 HTTP/us-west-2.prisma-abcde12345.proxy.prismaaccess.com@PANW.COM (arcfour-hmac)
4 3 HTTP/us-west-2.prisma-abcde12345.proxy.prismaaccess.com@PANW.COM (aes256-cts-hmac-sha1-96)
5 3 HTTP/us-west-2.prisma-abcde12345.proxy.prismaaccess.com@PANW.COM (aes128-cts-hmac-sha1-96)
# display all keytabs, get the key entry numbers to remove DES-CBC-MD5 and DES-CBC-CRC.
# Also, enable or disable RC4-HMAC based on your organization’s policy.
for i in `ls keytab_name*.keytab`; do echo $i; klist -Kte -k $i; done
# cleanup unsupported ciphers
# entry #1 is typically des-cbc-crc
# entry #2 is typically des-cbc-md5
# entry #3 is typically arcfour-hmac
ktutil
rkt KEYTAB_NAME_1.keytab
delent 2
delent 1
wkt new1.keytab
quit
ktutil
rkt KEYTAB_NAME_2.keytab
delent 2
delent 1
wkt new2.keytab
quit
ktutil
rkt KEYTAB_NAME_3.keytab
delent 2
delent 1
wkt new3.keytab
quit
Where KEYTAB_NAME_1.keytab,
KEYTAB_NAME_2.keytab, and
KEYTAB_NAME_3.keytab are the keytabs you created in
the previous step.