Skip to content

Commit

Permalink
Temporarily disable SSL verification in the PbenchServerClient
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Jun 21, 2023
1 parent 9ed6ff1 commit b082cca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pbench/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ def connect(self, headers: Optional[dict[str, str]] = None) -> None:
"""
url = parse.urljoin(self.url, "api/v1/endpoints")
self.session = requests.Session()
# FIXME: `verify` should be set to the path to the CA bundle
self.session.verify = False
if headers:
self.session.headers.update(headers)
response = self.session.get(url)
Expand Down

0 comments on commit b082cca

Please sign in to comment.