Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/PureCloudPlatformClientV2/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def config_file_path(self, value):

def create_mtls_or_ssl_context(self):
if self.ssl_context is None: # set_mtls_contents() or set_mtls_certificates() were not called.
ssl_context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH)
ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)

if self.ssl_ca_cert:
ssl_context.load_verify_locations(cafile=self.ssl_ca_cert)
Expand Down Expand Up @@ -382,4 +382,4 @@ def on_modified(self, event):
# only respond if the config file has been modified
if type(event) == FileModifiedEvent and event.src_path == self.config_file_path:
if self.configuration.live_reload_config:
self.configuration._update_config_from_file()
self.configuration._update_config_from_file()