This is a command line tool to get the Trusted root certificate from eDirectory through LDAP. It is a client program which uses LDAP SDKs for getting the certificate. Alternately, we can get the certificate through GUI interfaces like iManager or ConsoleOne. But if you want to get things done from the command line without going to GUI or you want to automate, this tool will be useful.
./getcert 220.127.116.11 636 cn=rj1,o=novell novell c.der der
Successfully copied the certificate file
Pre-requisites: The tool requires LDAP SDK. The library path needs to be set to LDAP SDK lib folder. You can get the LDAP SDKs from http://developer.novell.com/wiki/index.php/LDAP_Libraries_for_C.