[issue18616] enable more ssl socket options with get_server_certificate

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I would accept a patch that adds a ssl_context argument to get_server_certificate(). -- status: open -> pending versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue18616] enable more ssl socket options with get_server_certificate

2014-04-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: To be frank, it's quite easy to open the connection and read the cert yourself, so I don't think complicating this API is very useful. Still, I'm leaving this open so that other developers can chime in. -- nosy: +christian.heimes, dstufft, giampaolo.rod

[issue18616] enable more ssl socket options with get_server_certificate

2013-12-09 Thread Derek Wilson
Derek Wilson added the comment: any thoughts on this? there's a lot of room for improvement in python ssl... -- versions: +Python 3.5 ___ Python tracker ___ _

[issue18616] enable more ssl socket options with get_server_certificate

2013-08-01 Thread Derek Wilson
New submission from Derek Wilson: ssl.get_server_certificate does not allow advanced options like what ciphers to use (for ssl2 for instance) or SNI for virtual hosts with multiple ssl sites on one IP address. Adding **kwargs enables any current and future SSLSocket options to be passed along