

load_cert_chain ( '/path/to/certchain.pem', '/path/to/private.key' ) with socket. Helps manage settings and certificates, which can then be inheritedīy SSL sockets created through the SSLContext.wrap_socket() method.Ĭontext = ssl. Retrieves the cipher being used for the secure connection.įor more sophisticated applications, the ssl.SSLContext class

It supportsĪdditional methods such as getpeercert(), which retrieves theĬertificate of the other side of the connection, and cipher(), which Socket.socket type, and provides a socket-like wrapper that alsoĮncrypts and decrypts the data going over the socket with SSL. This module provides a class, ssl.SSLSocket, which is derived from the The documents in the “See Also” section at the bottom. General information about TLS, SSL, and certificates, the reader is referred to

This section documents the objects and functions in the ssl module for more WebAssembly platforms for more information. This module does not work or is not available on WebAssembly platforms
