To import a trusted root certificate, enter the following:
kdb5_util [-D user_dn [-w passwd]] [-h ldap_server] [-p ldap_port]
import_cert [-y] [-e encode_format] -f certificate_file
Table 35. import_cert Parameter Description
For example:
kdb5_util -h ldap-server1.mit.edu -p 636 import_cert -e der -f /opt/novell/kerberos/certs/trustedroot.der
The output is as follows:
Trusted Root Certificate received.
Certificate Information:
Status: self signed certificate in certificate chain
Issuer: /OU=Organizational CA/O=KAILASA
Subject: /OU=Organizational CA/O=KAILASA
Valid From: Saturday, April 02, 2005 03:18:56 PM IST
Valid Till: Thursday, April 02, 2015 03:18:56 PM IST
Would you like to accept the certificate? (Y/N): y