Skip to content

Commit

Permalink
Quick fix for https config sources
Browse files Browse the repository at this point in the history
this change disables certificate validation checks when attempting to
download a config file from an https source.
  • Loading branch information
JacobCallahan committed Oct 14, 2024
1 parent b8f46f1 commit 20b4222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _import_config(self, source, is_url=False):
import requests

click.echo(f"Downloading example file from: {source}")
return requests.get(source, timeout=60).text
return requests.get(source, timeout=60, verify=False).text
else:
return source.read_text()

Expand Down

0 comments on commit 20b4222

Please sign in to comment.