Note: The MDQ beta service retired May 1, 2019. It is replaced with a "preview" (pre-production) MDQ service.
...
https://wiki.shibboleth.net/confluence/display/XSTJ2/xmlsectool+V2+Home
Caution: The state of MDQ server behavior is in flux, and downloading metadata from the URL below (step 2) with a browser may not provide usable results. Check that your results are XML and not HTML.
Procedure
Obtain Save a copy of and verify the InCommon Metadata Query Protocol signing certificate (
incommon-mdq.pem
) and verify the signing key its fingerprint.
See https://spaces.at.internet2.edu/display/MDQ/MDQ+Signing+KeyCode Block openssl x509 -sha1 -noout -fingerprint -in incommon-mdq.pem SHA1 Fingerprint=CF:A8:7A:57:00:6E:05:09:CD:63:A1:49:1B:4B:F8:46:98:DD:3A:38
Fetch the UC Davis IdP metadata.
Code Block curl --silent --output ucdavis-metadata.xml \ http://mdq-preview.incommon.org/entities/urn%3Amace%3Aincommon%3Aucdavis.edu
Validate the XML signature. Note: several other ways to verify the digital signature on an XML document exist, as well, cf. Google search.
Code Block xmlsectool --verifySignature --inFile ucdavis-metadata.xml --certificate incommon-mdq.pem