Check this if you need to connect server that uses an invalid or self-signed SSL certificate.