Commit fd216f9b authored by Matthew Iversen's avatar Matthew Iversen

Remove SSL3 entirely as default TLS level

parent 5f264dfb
......@@ -399,7 +399,7 @@ def wrap_socket(sock, keyfile=None, certfile=None,
ciphers=ciphers)
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):
"""Retrieve the certificate from the server at the specified address,
and return it as a PEM-encoded string.
If 'ca_certs' is specified, validate the server cert against it.
......
......@@ -442,7 +442,7 @@ def wrap_socket(sock, keyfile=None, certfile=None,
ciphers=ciphers)
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):
"""Retrieve the certificate from the server at the specified address,
and return it as a PEM-encoded string.
If 'ca_certs' is specified, validate the server cert against it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment