是的是可能的。使用“idp”的“certFingerprint”参数。如果不使用 rsa-sha1,您还应该设置“certFingerprintAlgorithm”。查看设置 [1]。
请记住,“x509cert”不需要验证 SAMLResponse(使用 certFingerprint 和 certFingerprintAlgorithm 就足够了),但需要验证 LogoutRequest 和 LogoutResponse 的 HTTP-Redirect 绑定的签名。
[1] https://github.com/onelogin/php-saml#settings