diff --git a/requirements-dev.txt b/requirements-dev.txt index 18135f649..88f0329c0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -15,5 +15,5 @@ pyflakes==1.6.0 pylint==2.15.5 pytest==7.2.0 requests_mock==1.7.0 -six==1.12.0 +six==1.16.0 wrapt==1.14.1 diff --git a/stix_shifter_modules/onelogin/requirements.txt b/stix_shifter_modules/onelogin/requirements.txt index 09d427e2b..3a06c1c8e 100644 --- a/stix_shifter_modules/onelogin/requirements.txt +++ b/stix_shifter_modules/onelogin/requirements.txt @@ -1 +1 @@ -onelogin==2.0.1 \ No newline at end of file +onelogin==2.0.4 \ No newline at end of file diff --git a/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py b/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py index 996074714..d414d95ba 100644 --- a/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py +++ b/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py @@ -62,7 +62,8 @@ def __init__(self, host, port=None, headers={}, url_modifier_function=None, cert self.server_ip = server_ip # default ssl context is used based on https://docs.python.org/3.9/library/ssl.html#ssl.create_default_context - self.ssl_context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH) + #SERVER_AUTH is for authenticating servers (IE: Client would use this to communicate with a server). + self.ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH) ssl_cert_file = os.environ.get('SSL_CERT_FILE') if ssl_cert_file: # library reference https://docs.python.org/3.9/library/ssl.html#ssl.SSLContext.load_verify_locations