GetCert

0 Likes

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.



Usage:



getcert <host name> <port number> <login dn> <password> <certfileName> <format>



Host name : host name of the server where eDirectory is running

Port number: LDAP secure port

login dn: User name

password: password of the user

certfileName: File to store the certificate.

format: format of the certificate file - der or b64


ex.



./getcert 164.99.167.25 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.



Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended