summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-04-03 17:10:18 -0400
committerSimo Sorce <simo@redhat.com>2014-04-04 10:40:20 -0400
commit5a6c713fda1a4052051566984c0b489e286aa502 (patch)
tree17fb224da33ec307c718492e69043c185a728a4e
parent15ef3579e537523ea97714bf80c63f2f8f30d4bd (diff)
downloadipsilon-5a6c713fda1a4052051566984c0b489e286aa502.tar.gz
ipsilon-5a6c713fda1a4052051566984c0b489e286aa502.tar.xz
ipsilon-5a6c713fda1a4052051566984c0b489e286aa502.zip
No need to have a separate certificate file
Certificates are already contained in the metadata.xml file Signed-off-by: Simo Sorce <simo@redhat.com>
-rwxr-xr-xipsilon/providers/saml2idp.py3
1 files changed, 1 insertions, 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))