Very closely related to bug 72009, the http module should detect SSL certificate errors and raise a FatalServerException so that api.py doesnt keep trying to connect. This works in py2, but py3 ssl error codes are different.
Version: core-(2.0)
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=72236