enable passing the path to a CA file to Browser.VERIFY
This commit is contained in:
parent
e5067a43b8
commit
a3b51902b9
1 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ class Browser(object):
|
|||
|
||||
session.proxies = self.PROXIES
|
||||
|
||||
session.verify = self.VERIFY and not self.logger.settings['ssl_insecure']
|
||||
session.verify = not self.logger.settings['ssl_insecure'] and self.VERIFY
|
||||
|
||||
# defines a max_retries. It's mandatory in case a server is not
|
||||
# handling keep alive correctly, like the proxy burp
|
||||
|
|
@ -258,7 +258,7 @@ class Browser(object):
|
|||
proxies = self.PROXIES
|
||||
|
||||
if verify is None:
|
||||
verify = self.VERIFY and not self.logger.settings['ssl_insecure']
|
||||
verify = not self.logger.settings['ssl_insecure'] and self.VERIFY
|
||||
|
||||
if timeout is None:
|
||||
timeout = self.TIMEOUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue