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 to the underlying connection. wrap_socket doesn't include all the options 
(npn and sni for instance), so I use SSLSocket instead.

----------
components: Extension Modules
files: ssl_get_server_certificate_kwargs.patch
keywords: patch
messages: 194083
nosy: underrun
priority: normal
severity: normal
status: open
title: enable more ssl socket options with get_server_certificate
type: enhancement
versions: Python 3.4
Added file: 
http://bugs.python.org/file31111/ssl_get_server_certificate_kwargs.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to