Python logo

Table of Contents

  • ssl — TLS/SSL wrapper for socket objects
    • Functions, Constants, and Exceptions
      • Socket creation
      • Context creation
      • Exceptions
      • Random generation
      • Certificate handling
      • Constants
    • SSL Sockets
    • SSL Contexts
    • Certificates
      • Certificate chains
      • CA certificates
      • Combined key and certificate
      • Self-signed certificates
    • Examples
      • Testing for SSL support
      • Client-side operation
      • Server-side operation
    • Notes on non-blocking sockets
    • Memory BIO Support
    • SSL session
    • Security considerations
      • Best defaults
      • Manual settings
        • Verifying certificates
        • Protocol versions
        • Cipher selection
      • Multi-processing
    • TLS 1.3

Previous topic

socket — Low-level networking interface

Next topic

select — Waiting for I/O completion