Skip to content

Commit

Permalink
Update ssl_context to CLIENT_AUTH.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeichikawasalesforce committed Jun 19, 2024
1 parent 52d27ce commit 029aa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabpy/tabpy_server/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, config_file, disable_auth_warning=True):
self._parse_config(config_file)

def _initialize_ssl_context(self):
ssl_context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)

ssl_context.load_cert_chain(
certfile=self.settings[SettingsParameters.CertificateFile],
Expand Down

0 comments on commit 029aa15

Please sign in to comment.