Depending on the version of Java you are using, one of the βlatestβ 1.6 JRE / JDK updates includes a significant change to global CACerts (a trusted authority that signs SSL certificates, such as Verisign) to include some of the new types of certificates that are around.
I recommend upgrading to the latest versions of Java to make sure this works, if not, option 2 is ...
Using SSLPoke.java , you can find out which certificates are missing and InstallCert.java to install them as follows:
- java InstallCert webserver.domain.com-00-0043
- Copy the generated jssecacerts file to the $ JAVA_HOME \ jre \ lib \ security folder.
If this still causes problems, you can include the output from sslpoke, an example use;
# java SSLPoke webserver.domain.com 443 Successfully connected
If ALL does not work, and you can get the certificate file (crt), you can manually import the file using the keytool command (cacerts is the file that will be created in your local working directory, make sure you move it to java in your JRE / JDK);
keytool -import -trustcacerts -alias AddTrustExternalCARoot -file cetificate.crt -keystore cacerts
source share