Message231890
As the documentation says "If context is specified and has a verify_mode of either CERT_OPTIONAL or CERT_REQUIRED, then by default host is matched against the host name(s) allowed by the server’s certificate. If you want to change that behaviour, you can explicitly set check_hostname to False."
It is rather weird that HTTPSConnection has its own "check_hostname" parameter independent of the one on the SSL context.
Alex, what do you think of this patch? |
|
Date |
User |
Action |
Args |
2014-11-30 16:15:40 | benjamin.peterson | set | recipients:
+ benjamin.peterson, christian.heimes, alex, desbma |
2014-11-30 16:15:40 | benjamin.peterson | set | messageid: <1417364140.61.0.525469434695.issue22959@psf.upfronthosting.co.za> |
2014-11-30 16:15:40 | benjamin.peterson | link | issue22959 messages |
2014-11-30 16:15:40 | benjamin.peterson | create | |
|