diff options
author | kali <kali@leap.se> | 2012-11-12 10:04:09 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-12 10:04:36 +0900 |
commit | fc857d25025ea07d46a8c8f5ffd4fb2902a76c13 (patch) | |
tree | 6d65d2275f9bfed8b51bd9dd420152b415029c54 /src/leap/eip/checks.py | |
parent | 8fd77ba036cb78c81939bbfce312b12cdc90d881 (diff) |
fix cert fetching over https
Diffstat (limited to 'src/leap/eip/checks.py')
-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 9bd96a1c..caaef2ea 100644 --- a/src/leap/eip/checks.py +++ b/src/leap/eip/checks.py @@ -212,11 +212,16 @@ class ProviderCertChecker(object): if credentials: user, passwd = credentials - @srpauth_protected(user, passwd, verify) + logger.debug('domain = %s', self.domain) + + @srpauth_protected(user, passwd, + server="https://%s" % self.domain, + verify=verify) def getfn(*args, **kwargs): return fgetfn(*args, **kwargs) else: + # XXX FIXME fix decorated args @magick_srpauth(verify) def getfn(*args, **kwargs): return fgetfn(*args, **kwargs) |