Hello, you need to have the certificate installed as "trusted" or the connections will fail. The trusted store for the JVM is <java home>/jre/lib/security/cacerts and you can import yours there with keytool to get it to be trusted. Try
keytool -import -noprompt -trustcacerts -alias <give it an alias> -file <path to certificate> -keystore <path to cacerts>
and see that if that alleviates your issue. If not you can try putting it into your own keystore and using the tSetKeystore component. See
this for the official documentation on importing a certificate and
this for more information on the keytool (it's the man page for it).
Hope that helps!