Skip to main content

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.

Project details


Download files

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

Source Distribution

ssl_sni-0.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file ssl_sni-0.1.tar.gz.

File metadata

  • Download URL: ssl_sni-0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ssl_sni-0.1.tar.gz
Algorithm Hash digest
SHA256 6adfb388e70e147768c4fc980824440e53ec1ce251b3e3a460571395d4975dcb
MD5 328507ca227161e702ada6efdd2b1978
BLAKE2b-256 eb0583f722dd59a72276c40246e4cc2f64581588b68975b05b5a3902ec445f40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page