How to Use PKIDIAG to avoid issues while Installing Netware 6.5
This document (3640106) is provided subject to the disclaimer at the end of this document.
Environment
PKIDIAG
Situation
PROBLEM: The IP address in KMO SSL CertificateIP does not match the default IP address
PROBLEM: The DNS name in KMO SSL CertificateDNS does not match the default DNS name for the server
PROBLEM: Renamed objects are created whenever PKIDIAG is ran
PROBLEM: DNS not setup correctly when creating SSL Certificates
Resolution
The Netware 6.5 Deployment Manager runs PKDIAG in "diagnostic" mode which will identify errors but does not fix them.
If a security error is detected through Deployment Manager, the recommendations below will help you remedy the problem so that the Netware 6.5 installation can continue.
NOTE: The errors can be seen in the sys:/etc/certserv/repair.log file.
NOTE: The PKDIAG utility can be found by going to http://support.novell.com/filefinder and doing a search for PKIDIAG.
Problem:The DNS name in KMO SSL CertificateDNS does not match the default DNS name for the server. DNS is most likely not setup properly.
Solution:By default, it is assumed that DNS is setup on your server. Because of this, PKIDIAG is verifying the DNS certificates. However, since the Netware 6.5 installation will assist you in re-configuring DNS, the error in PKIDIAG can be ignored without ramifications.
Problem:The IP address in KMO SSL CertificateIP does not match the default IP address
Problem:Renamed objects are created whenever PKIDIAG is ran (I.E. 0_1 with an object class of SSL Certificates)
Solution:The partition replication had errors and would not synchronize. The server that the KMO was being created on did not have a real copy of its own object. After running PKIDIAG multiple times, an object with the same name was created on different replicas. When synchronization was established, renamed objects were generated. The fix is to remove all renamed KMO objects, fix synchronization and run PKIDIAG in fix mode. (see section "How to Run PKIDIAG in Fix Mode" below)
How to Run PKIDIAG in Fix Mode:By default, PKIDIAG runs in diagnostic mode. This means that problems are identified but not resolved.
To allow PKIDIAG to fix problems, choose option 4 (actions). PKIDIAG will switch to "Actions: Fix Mode". Make any desired changes to options 5 and 6 and then press "0" to start the fixing process.
Achitecture Overview:
The architecture for Novell server certificates and related objects provides four links between all of the objects that are used to identify and store the server certificates. Please note that the server certificate object is often referred to the KMO or Key Material Object (schema definition NDSPKI:Key Material).
In general, the server object has a link (SAS:Service DN) which points to the SAS:Service object. In turn, the SAS:Service object has a link back to the server (Host Server). The SAS:Service object also has a multi-valued link (NDSPKI:Key Material DN) to all of the server certificates (i.e. KMOs). Each of the server certificates have a link back to the server (Host Server). This kind of redundant linking is designed to help make the system hard to break, and make it so that all of the objects can be found by following the links.
The server certificate objects also follow a naming scheme that is designed to help easily identify which objects belong to which server and vise-versa. The naming scheme appends a " –
PKIDiag Functionality Overview:
The PKIDiag utility is designed to diagnose and (optionally) fix the objects identified above. If a server has been renamed or moved PKIDiag can rename or move the related objects so that they conform to the correct naming and containment schemes. If any of the required objects do not exist, PKIDiag can create them. If any of the objects don’t have the necessary rights to the other objects, PKIDiag can give those rights. If any of the objects are not linked, then PKIDiag can link them. If either the SSL CertificateIP or the SSL CertificateDNS does not exist, has an incorrect name, or is out of date (or close to out of date) PKIDiag can fix them.
The default mode for PKIDiag is to only diagnose problems. You must change the mode to fixing in order to fix any problems.
PKIDiag Options:
PKIDiag allows the user to choose between diagnostic and fixing mode. PKIDiag determines the default IP and DNS addresses of the server and displays prior to starting the diagnostic or fixing process. The user can also enter a different IP and/or DNS address. (Use this method if PKIDiag was unable to determine the default IP and DNS addresses.) In fixing mode, PKIDiag allows the user to determine the default KMO replacement option and update default KMO option (See # 6 below). PKIDiag allows the user to use the command line to enter the options if desired. Use the command "Load PKIDiag /?” to see the command line options.
PKIDiag Diagnostic/Fixing Steps:
1) Verifying the Server's link to the SAS Service Object -- PKIDiag checks the link from the server object to the SAS Service Object if it exists. (If the link does not exist, then it doesn’t do anything.) In fixing mode it can do which ever of the following steps are necessary:
Additional Information
Document
| Document ID: | 3640106 |
| Creation Date: | 10-19-2006 |
| Modified Date: | 04-30-2012 |
| Novell Product: | eDirectory |
| Novell Product: | PKIS (Novell Certificate Server) |
Disclaimer
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.