Added a fix for SSL certificate validation error