Descripción
Sintaxis
ssl.wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_TLS, ca_certs=None, do_handshake_on_connect=True, suppress_ragged_eofs=True, ciphers=None)
Parámetros
- ca_certs,
- cert_reqs,
- certfile,
- ciphers,
- do_handshake_on_connect,
- keyfile,
- server_side,
- sock,
- ssl_version,
- suppress_ragged_eofs,
Ejemplo