[New-bugs-announce] [issue18616] enable more ssl socket options with get_server_certificate

Derek Wilson report at bugs.python.org
Thu Aug 1 17:56:02 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue18616>
_______________________________________


More information about the New-bugs-announce mailing list