Fixes disabling of SSL certificate validation