Support client certificate file and client key file in TLS/SSL in python client

This commit is contained in:
geekerzp
2015-09-26 16:16:59 +08:00
parent 5e805c2be6
commit cf1f113852
4 changed files with 42 additions and 2 deletions

View File

@@ -92,6 +92,10 @@ class Configuration(object):
self.verify_ssl = True
# Set this to customize the certificate file to verify the peer.
self.ssl_ca_cert = None
# client certificate file
self.cert_file = None
# client key file
self.key_file = None
@property
def logger_file(self):