From 5a6c713fda1a4052051566984c0b489e286aa502 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 3 Apr 2014 17:10:18 -0400 Subject: [PATCH] No need to have a separate certificate file Certificates are already contained in the metadata.xml file Signed-off-by: Simo Sorce --- ipsilon/providers/saml2idp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.20.1