Olav,
Is it possible to include the signature in the xml message?
I checked the log and the request does contain SigAlg and Signature.
Here's what we have in the logs (I modified the signature for
protection)
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] Session:
doLogout('default-sp')
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] Saved state:
'_32b2140f751f708c61e8dfc016fd5314af5e67d035'
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] Sending message:
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <samlp:LogoutRequest
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_b17a97a8bc65dfbadfe823937fff7e7bf4249b8c63" Version="2.0"
IssueInstant="2012-02-23T18:28:47Z" Destination="https://
changedForProtection">
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a]
<saml:Issuer>WSITS_SP_Staging2</saml:Issuer>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <saml:NameID
NameQualifier="ClientIdp-Staging" SPNameQualifier="WSITS_SP_Staging2"
Format="urn:oasis:names:tc:SAML:2.0:nameid-
format:transient">onLjOP8yGi7m6AE6W1yOwoDdAGj</saml:NameID>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a]
<samlp:SessionIndex>xIq8wxETcEPMIIwNx3Vtpg-2sBe</samlp:SessionIndex>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] </
samlp:LogoutRequest>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] Redirect to 1050 byte
URL:
https://changedForProtection.com/idp/SLO.saml2?SAMLRequest=fZJbj4IwEIX%2FCuk7osUVbJTEja5p4m0Xo8m%2BmAKFrYEWOyWy%2F37BS%2BL64NMkZ87XOTPpCFiRl2ShMlWZL36qOBirLnIJ5NIZo0pLohgIIJIVHIiJSThZLgjudEmplVGxytED8ppgAFwboSSy6HSMDlHPY0OP%2BVE8eEvSiCUp97E7dL00TT3uRWkf94eRHw9cZO24hoYco%2BahBgeoOJVgmYE4jgAyjR658zyTHMuoROrwhFJ6YSLdaddAaNg1FZymaGDfUi34S%2BL%2Fz5R8Ac%3D&RelayState=_32b2140f751f708c61e8dfc016fd5314af5e67d035&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=Khxt%2BTCpFARDiTBLUWUmXljSjpoLg%3D%3D
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] Received message:
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <samlp:LogoutResponse
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
Destination="
https://ssotest.wsits.com/sso/module.php/saml/sp/saml2-
logout.php/default-sp"
InResponseTo="_b17a97a8bc65dfbadfe823937fff7e7bf4249b8c63"
IssueInstant="2012-02-23T18:30:45.513Z" ID="hNDbrS-
EIbB0.6EcdVuvbLzd1yx" Version="2.0">
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <saml:Issuer
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">ClientIdp-Staging</
saml:Issuer>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <samlp:Status>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] <samlp:StatusCode
Value="urn:oasis:names:tc:SAML:2.0:status:Requester"/>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a]
<samlp:StatusMessage>Invalid signature</samlp:StatusMessage>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] </samlp:Status>
Feb 23 13:28:47 simplesamlphp DEBUG [f8f2e2067a] </
samlp:LogoutResponse>
Feb 23 13:28:47 simplesamlphp WARNING [f8f2e2067a] Unsuccessful
logout. Status was: exception 'sspmod_saml_Error' with message
'Requester: Invalid signature' in C:\web\simplesamlphp\modules\saml\lib
\Message.php:368
Stack trace:
#0 C:\web\simplesamlphp\modules\saml\www\sp\saml2-logout.php(54):
sspmod_saml_Message::getResponseError(Object(SAML2_LogoutResponse))
#1 C:\web\simplesamlphp\www\module.php(135): require('C:\web
\simplesa...')
#2 {main}