Christian Heimes added the comment: For hostname verification it might be a good idea to add a replacement for ssl.CertificateError. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28182> _______________________________________