SSL

keyfile

  • --keyfile FILE
  • None

SSL key file

certfile

  • --certfile FILE
  • None

SSL certificate file

ssl_version

  • --ssl-version
  • _SSLMethod.PROTOCOL_TLS

SSL version to use (see stdlib ssl module’s)

Changed in version 19.7: The default value has been changed from ssl.PROTOCOL_TLSv1 to ssl.PROTOCOL_SSLv23.

cert_reqs

  • --cert-reqs
  • VerifyMode.CERT_NONE

Whether client certificate is required (see stdlib ssl module’s)

ca_certs

  • --ca-certs FILE
  • None

CA certificates file

suppress_ragged_eofs

  • --suppress-ragged-eofs
  • True

Suppress ragged EOFs (see stdlib ssl module’s)

do_handshake_on_connect

  • --do-handshake-on-connect
  • False

Whether to perform SSL handshake on socket connect (see stdlib ssl module’s)

ciphers

  • --ciphers
  • TLSv1

Ciphers to use (see stdlib ssl module’s)