<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
bgcolor="#FFFFFF" text="#000000">
when i run <br>
<br>
<span style="font-family: monospace;">xmlsec1 --verify
--pubkey-cert-pem my.cer '--id-attr:ID' 'urn:oasis:names:tc:SAML:2.0'
Response.xml</span><br>
<br>
the stacktrace given to me is<br>
<br>
<span style="font-family: monospace;">func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2
library function
failed:expr=xpointer(id('_9b281906-5626-4579-b506-6e1e344b5dd7'))</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecXPathDataListExecute:file=xpath.c:line=373:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecTransformXPathExecute:file=xpath.c:line=483:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2405:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1236:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec
library function failed:transform=xpointer</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecTransformCtxExecute:file=transforms.c:line=1296:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1571:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec
library function failed:node=Reference</span><br style="font-family:
monospace;">
<span style="font-family: monospace;">func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSignatureProcessNode:error=1:xmlsec
library function failed:</span><br style="font-family: monospace;">
<span style="font-family: monospace;">Error: signature failed</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">ERROR</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">SignedInfo References (ok/all):
0/1</span><br style="font-family: monospace;">
<span style="font-family: monospace;">Manifests References (ok/all):
0/0</span><br style="font-family: monospace;">
<span style="font-family: monospace;">Error: failed to verify file</span><br>
<br>
the xml in question is<br>
<br>
<span style="font-family: monospace;"><samlp:Response
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
ID="_9b281906-5626-4579-b506-6e1e344b5dd7" Version="2.0"
IssueInstant="2014-03-19T06:39:08.634Z"</span><br style="font-family:
monospace;">
<span style="font-family: monospace;">
Destination=<a class="moz-txt-link-rfc2396E" href="https://perfectcloudstaging.happyfox.com/staff/smartsignin/callback">"https://perfectcloudstaging.happyfox.com/staff/smartsignin/callback"</a>></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Issuer
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><a class="moz-txt-link-freetext" href="http://localhost:54660/saml2/metadata/6118c9130de04f60b09616de43fa7d27">http://localhost:54660/saml2/metadata/6118c9130de04f60b09616de43fa7d27</a></saml:Issuer></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <Signature
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#">"http://www.w3.org/2000/09/xmldsig#"</a>></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <SignedInfo></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<CanonicalizationMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/10/xml-exc-c14n#">"http://www.w3.org/2001/10/xml-exc-c14n#"</a>/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <SignatureMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1">"http://www.w3.org/2000/09/xmldsig#rsa-sha1"</a>/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <Reference
URI="#_9b281906-5626-4579-b506-6e1e344b5dd7"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<Transforms></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
<Transform
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#enveloped-signature">"http://www.w3.org/2000/09/xmldsig#enveloped-signature"</a>/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<Transform Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/10/xml-exc-c14n#">"http://www.w3.org/2001/10/xml-exc-c14n#"</a>></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<InclusiveNamespaces xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/10/xml-exc-c14n#">"http://www.w3.org/2001/10/xml-exc-c14n#"</a>
PrefixList="#default samlp saml ds xs xsi"/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</Transform></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
</Transforms></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> <DigestMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#sha1">"http://www.w3.org/2000/09/xmldsig#sha1"</a>/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<DigestValue>ZtZ7NdVHlkd0cHbI13ukQJyPwTE=</DigestValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </Reference></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </SignedInfo></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<SignatureValue>Tjr3DtAMF50tsxPXB929T8KZgw1D0jW4ugD6c9EFe1prpyA1anKkuwfOzcrrrFoRTo3jZ4aplENgb03ZYUjve9Q3UNUlOQiP9XId2IblvMYvf75Q9jyAZ8L024d5TlkkMoGHEB//+l4FfUh8sMrVXfR7gY0VaZRzwdIEfXpx60hxDuiTVBV/dqpfg+nc95Z/OXiJUWHvYZGY126lse/gqFrHG8YukzBalZdUsDM0dykefNWe5Dr8Rpn6JqCNmnze4hA4bsFfEW1mk1B8AJGDirXg4sQlLOSJFmDG2RrShVUT1oY0XY/xSJDI0oMokKehWMyP7A5q77Zg6jfeDHRJeA==</SignatureValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <KeyInfo></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <X509Data></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<X509Certificate></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> <!-- my
cert --></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
</X509Certificate></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </X509Data></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </KeyInfo></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </Signature></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <samlp:Status></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <samlp:StatusCode
Value="urn:oasis:names:tc:SAML:2.0:status:Success"/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </samlp:Status></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Assertion
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0"
ID="_31d8f30a-4db0-4f8a-9542-e7becec31456"
IssueInstant="2014-03-19T06:39:08.634Z"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:Issuer><a class="moz-txt-link-freetext" href="http://localhost:54660/saml2/metadata/6118c9130de04f60b09616de43fa7d27">http://localhost:54660/saml2/metadata/6118c9130de04f60b09616de43fa7d27</a></saml:Issuer></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Subject></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:NameID
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"><a class="moz-txt-link-abbreviated" href="mailto:draizada@smartsignin.com">draizada@smartsignin.com</a></saml:NameID></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:SubjectConfirmation
Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:SubjectConfirmationData NotOnOrAfter="2014-03-19T06:59:08.686Z"
Recipient=<a class="moz-txt-link-rfc2396E" href="https://example.com/saml/">"https://example.com/saml/"</a>/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:SubjectConfirmation></span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </saml:Subject></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Conditions
NotBefore="2014-03-19T06:19:08.686Z"
NotOnOrAfter="2014-03-19T06:59:08.686Z"/></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AttributeStatement></span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> <saml:Attribute
Name="email"></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AttributeValue>my email</saml:AttributeValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:Attribute></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Attribute
Name="FirstName" NameFormat="urn:oasis:nam</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> es:tc:SAML:1.1:nameid-format:unspecified"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AttributeValue>User Name</saml:AttributeValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:Attribute></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Attribute
Name="LastName"
NameFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AttributeValue>User Name</saml:AttributeValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:Attribute></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> <saml:Attribute
Name="EntityIdentifier"
NameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AttributeValue>8cc99e70-8a05-4fda-a0b8-ea0f24164b27</saml:AttributeValue></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:Attribute></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:AttributeStatement></span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> <saml:AuthnStatement
AuthnInstant="2014-03-19T06:39:08.686Z"></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AuthnContext></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:AuthnContextClassRef></span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:AuthnContext></span><br style="font-family: monospace;">
<span style="font-family: monospace;">
</saml:AuthnStatement></span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </saml:Assertion></span><br
style="font-family: monospace;">
<span style="font-family: monospace;"></samlp:Response></span><br>
<br>
i know from browsing the list, it has something to do with
''--id-attrd:ID" but can't seem to figure it out<br>
<br>
thanks for help<br>
<br>
//yousuf<br>
</body>
</html>