Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A wrapper to pyOpenSSL to provide an interface like the standard ssl module.

Project Description

ssl_sni provides a module similar to the Python 2.7 builtin module ssl with the Server Name Indication (SNI) extension. In particular the wrap_socket function has the extra parameter server_hostname to provide a hostname via SNI to the server.

ssl_sni is built on top of the pyOpenSSL and pyasn1 modules. In other words it is a pure python module that does not make any calls directly (not through pyOpenSSL) to the OpenSSL.

For now the subset of the ssl module provided is that required by mercurial and httpplus (used by mercurial). If you have requests for specific other features please file a bug.

Project Page

The project page is here.

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ssl_sni-0.1.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting