Fix for SSL cert issue