diff options
author | kali <kali@leap.se> | 2013-02-12 08:40:40 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-02-13 01:33:27 +0900 |
commit | b1f4715334a1b6559ce35dbfe40cd1e1ad91cf7f (patch) | |
tree | 0b67ba0d9038633b6603582adde53b9bff969e6e /src/leap | |
parent | 2f4b84d1f58e3c008ef9f8138bf1711e023f00e2 (diff) |
add debug info
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/eip/checks.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/eip/checks.py b/src/leap/eip/checks.py index 9a34a428..af824c57 100644 --- a/src/leap/eip/checks.py +++ b/src/leap/eip/checks.py @@ -120,7 +120,12 @@ class ProviderCertChecker(object): def verify_api_https(self, uri): assert uri.startswith('https://') cacert = self.ca_cert_path - verify = cacert and cacert or True + verify = cacert or True + + # DEBUG + logger.debug('uri -> %s' % uri) + logger.debug('cacertpath -> %s' % cacert) + req = self.fetcher.get(uri, verify=verify) req.raise_for_status() return True |