Error if target has invalid cert. I suggest add a argument with: urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)