Skip to content

Commit

Permalink
Merge pull request #7758 from EmanuelOverflow/master
Browse files Browse the repository at this point in the history
SSL Certificate are not used if they are in configuration file
  • Loading branch information
kowh-ai committed Aug 29, 2023
2 parents ded802e + 7e885d7 commit 819818e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/7758.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed server does not recognize ssl settings in configuration .ini file
2 changes: 1 addition & 1 deletion ckan/cli/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def run(ctx: click.Context, host: str, port: str, disable_reloader: bool,
if cert_file == key_file == 'adhoc':
ssl_context = 'adhoc'
else:
ssl_context = (ssl_cert, ssl_key)
ssl_context = (cert_file, key_file)
else:
ssl_context = None

Expand Down

0 comments on commit 819818e

Please sign in to comment.