Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 519 Bytes

xmlsec1.md

File metadata and controls

21 lines (15 loc) · 519 Bytes

xmlsec1

Check SAML Response XML

Make xml from response:

xsel -b | base64 -d > <response.xml>
xmlsec1 --verify --pubkey-cert-pem <ca.pem> --id-attr:ID Response <response.xml>
xmlsec1 --verify --pubkey-cert-pem <ca.pem> --id-attr:ID "urn:oasis:names:tc:SAML:2.0:protocol:Response" <response.xml>
xmlsec1 --verify --pubkey-cert-pem <ca.pem> --id-attr:ID "urn:oasis:names:tc:SAML:2.0:assertion:Assertion" --node-xpath /samlp:Response/saml:Assertion <response.xml>