<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I have configured Shibboleth  for SLO with SP 2.6 and IDP 3.3. Both SP+IDP are installed on windows 2012 R2.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Each time a I invoke <a href="https://mysite.com/Shibboleth.sso/Logout">https://mysite.com/Shibboleth.sso/Logout</a> i am correctly redirected to my IDP but there I get the following error:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,902 - ERROR [org.opensaml.xmlsec.encryption.support.Decrypter:717] - Error decrypting encrypted key<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>org.apache.xml.security.encryption.XMLEncryptionException: Unwrapping failed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                at org.apache.xml.security.encryption.XMLCipher.decryptKey(XMLCipher.java:1532)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Caused by: java.security.InvalidKeyException: Unwrapping failed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Caused by: javax.crypto.BadPaddingException: Decryption error<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                at sun.security.rsa.RSAPadding.unpadOAEP(Unknown Source)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,902 - ERROR [org.opensaml.xmlsec.encryption.support.Decrypter:654] - Failed to decrypt EncryptedKey, valid decryption key could not be resolved<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,902 - ERROR [org.opensaml.xmlsec.encryption.support.Decrypter:547] - Failed to decrypt EncryptedData using either EncryptedData KeyInfoCredentialResolver or EncryptedKeyResolver + EncryptedKey KeyInfoCredentialResolver<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,917 - ERROR [org.opensaml.saml.saml2.encryption.Decrypter:178] - SAML Decrypter encountered an error decrypting element content<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>org.opensaml.xmlsec.encryption.support.DecryptionException: Failed to decrypt EncryptedData<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                at org.opensaml.xmlsec.encryption.support.Decrypter.decryptDataToDOM(Decrypter.java:550)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,917 - WARN [org.opensaml.saml.saml2.profile.impl.DecryptNameIDs:99] - Profile Action DecryptNameIDs: Failure performing decryption<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>org.opensaml.xmlsec.encryption.support.DecryptionException: Failed to decrypt EncryptedData<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                at org.opensaml.xmlsec.encryption.support.Decrypter.decryptDataToDOM(Decrypter.java:550)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,917 - WARN [org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event occurred while processing the request: DecryptNameIDFailed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2017-03-30 17:13:42,917 - DEBUG [org.opensaml.saml.common.profile.logic.DefaultLocalErrorPredicate:184] - Error event DecryptNameIDFailed will be handled with response<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Searching the forum I found that it could be related to Java Unlimited JCE Policy.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>After installation of JCE Policy, the problem maintains.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I would appreciate some help to find the problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Jose Ramalho<o:p></o:p></span></p></div></body></html>