Could not resolve key encryption credential
Willem D'Haeseleer
willem at origamilogic.com
Wed Oct 7 18:10:25 EDT 2015
Hello,
I am trying to configure a SAML SP with the http://www.testshib.org/ IDP
using the onelogin python-saml toolkit
located here: https://github.com/onelogin/python-saml
When I try to login I get redirected back to my SP but the the IDP fails to
encrypt the assertion.
It gives the following error:
17:55:15.117 - ERROR
[edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler:927]
- Could not resolve a key encryption credential for peer entity:
http://local.origami42.com:8000/metadata/
17:55:15.117 - ERROR
[edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler:289]
- Unable to construct encrypter
org.opensaml.xml.security.SecurityException: Could not resolve key
encryption credential
I included the full error in the idp-process.log file, as well as my
SP metadata file.
I searched trough the archives and found some similar questions, but I
couldn't really make sense of them.
Why can't the IDP encrypt the assertion ?
Am I using an incorrect certificate / public key, should I update the
medata somehow ?
( Sorry for the duplicate email, forgot the subject in the previous one... )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151007/f94881cc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idp-process.log
Type: application/octet-stream
Size: 14392 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20151007/f94881cc/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: origami_django_sp_metadata.xml
Type: text/xml
Size: 4501 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20151007/f94881cc/attachment-0001.xml>
More information about the users
mailing list