From: Simo Sorce Date: Thu, 3 Apr 2014 21:10:18 +0000 (-0400) Subject: No need to have a separate certificate file X-Git-Tag: v0.2.2~47 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=5a6c713fda1a4052051566984c0b489e286aa502 No need to have a separate certificate file Certificates are already contained in the metadata.xml file Signed-off-by: Simo Sorce --- diff --git a/ipsilon/providers/saml2idp.py b/ipsilon/providers/saml2idp.py index c1e31dc..c70b96a 100755 --- a/ipsilon/providers/saml2idp.py +++ b/ipsilon/providers/saml2idp.py @@ -126,8 +126,7 @@ class SAML2(ProviderPageBase): name = str(idval) try: meta = os.path.join(path, 'metadata.xml') - cert = os.path.join(path, 'certificate.pem') - self.cfg.idp.addProvider(lasso.PROVIDER_ROLE_SP, meta, cert) + self.cfg.idp.addProvider(lasso.PROVIDER_ROLE_SP, meta) self._debug('Added SP %s' % name) except Exception, e: # pylint: disable=broad-except self._debug('Failed to add SP %s: %r' % (name, e))