the certificate is a SAN certificate and it is uploaded in the keystore configured at Djavax.net.ssl.trustStore=/path/to/keystore and also i have imported in the system-wide keystore also in $JAVA_HOME/jre/lib/security/cacerts.Then i restarted the server,even then it was not working,showing the error like the root certificate is not in the trusted root authorities store.