Importing a certificate
To add a certificate to the Java cacerts file, you can use the keytool application provided with the Java installation, located in the jre/bin directory. The following command imports a certificate from the file ldap-certificate.cer into the cacerts file:
keytool -import -trustcacerts -alias ldap-certificate -file ldap-certificate.cer -keystore cacerts
Note: If you have not changed the keystore password, enter the default password, changeit, when prompted.
If you are using a system JRE and do not want to modify the system cacerts file, you can create the directory application/lib/security in the directory where the Directory Synchronization Client is installed, copy the system cacerts file to application/lib/ security/schemus-cacerts, then modify the cop