No need to have a separate certificate file
authorSimo Sorce <simo@redhat.com>
Thu, 3 Apr 2014 21:10:18 +0000 (17:10 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 4 Apr 2014 14:40:20 +0000 (10:40 -0400)
Certificates are already contained in the metadata.xml file

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2idp.py

index c1e31dc..c70b96a 100755 (executable)
@@ -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))