Have you also uploaded the certificate to the trust-store ? If not, then try disabling certificate verification.