<div dir="ltr">I get this error when I try to use the <a href="http://sp.testshib.org">sp.testshib.org</a> environment when configuring the idp. I have implemented may own authentication mechanism. <br>The logg says:<br>2015-11-19 15:27:10,761 - ERROR [org.opensaml.xmlsec.encryption.support.Encrypter:542] - Error encrypting XMLObject<br>org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size<br> at org.apache.xml.security.encryption.XMLCipher.encryptData(XMLCipher.java:1186)<br>Caused by: java.security.InvalidKeyException: Illegal key size<br> at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)<br>2015-11-19 15:27:10,803 - WARN [org.opensaml.saml.saml2.profile.impl.EncryptAssertions:140] - Profile Action EncryptAssertions: Error encrypting assertion<br>org.opensaml.xmlsec.encryption.support.EncryptionException: Error encrypting XMLObject<br> at org.opensaml.xmlsec.encryption.support.Encrypter.encryptElement(Encrypter.java:543)<br>Caused by: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size<br> at org.apache.xml.security.encryption.XMLCipher.encryptData(XMLCipher.java:1186)<br>Caused by: java.security.InvalidKeyException: Illegal key size<br> at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)<br>2015-11-19 15:27:10,849 - INFO [Shibboleth-Audit.SSO:241] - 20151119T152710Z|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect|_8f324fd0f62d7e1b7327b01e3c3c872e|<a href="https://sp.testshib.org/shibboleth-sp|http://shibboleth.net/ns/profiles/saml2/sso/browser|https://idp.mofan.se/idp/shibboleth|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST|_d551fd7194e9872cd9e75d5320fd5131|SSO|urn:oasis:names:tc:SAML:2.0:ac:classes">https://sp.testshib.org/shibboleth-sp|http://shibboleth.net/ns/profiles/saml2/sso/browser|https://idp.mofan.se/idp/shibboleth|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST|_d551fd7194e9872cd9e75d5320fd5131|SSO|urn:oasis:names:tc:SAML:2.0:ac:classes</a><br>:PasswordProtectedTransport||AAdzZWNyZXQxqkt2suroolfAoguczVhlyGbFY8G051zv138UDaMU<br>+HjZTd29Ygy7xWBIk9kroGsAf9Sb7WPWlH1Ce7l0d5YwHXxLYxO1FLiMsbFEmmka8X6+SYxlTvji<br>ifzteqlxagcw14z2hmE=|_bb18395a876d9e6880b595529a67b1f<br clear="all"><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Per Ahlbom<br>E-mail: <a href="mailto:per.wj.albom@gmail.com" target="_blank">per.wj.ahlbom@gmail.com</a><br>Tel: 0702615439<br></div></div></div>
</div></div></div>