To run with LDAPS, you must import an LDAP certificate into the Java keystore.
If you do not already have an SSL certificate, you can generate one using the keytool command. This procedure explains how to import a certificate from a CA and install it in the keystore.
Follow these steps:
keytool -importcert -keystore installDirectory/jre/ lib/security/cacerts -storepass cacertspasswd -alias alias -file filename.cer
The location of the keystore file (.ks).
Specifies the password for the cacerts keystore.
Default: changeit
The filename of the certificate.
keytool -storepasswd -keystore installDirectory/ jre/lib/security/cacerts
You are prompted to provide the existing password and the new password.
keytool -list -keystore installDirectory/jre/ lib/security/cacerts
Important! To enable the web services, the certificate must be in the cacerts keystore. Otherwise, you see an error in the log that reports that PKIX did not find a certificate.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|