Cool Solutions



October 6, 2006 8:44 am






Download getcert

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 <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


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

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.