diff options
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -127,7 +127,8 @@ def thrift(name, ip, port, server, SSL=False): ssl_factory = None if SSL == 'true': # ssl_factory = ssl.create_default_context() - ssl_factory = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) + ssl_factory = ssl.create_default_context(ssl.Purpose.SERVER_AUTH) + ssl_factory.load_default_certs() organisations = [] # Different clients for SAT / Master is needed. |