SAML-Toolkits / php-saml

Simple SAML toolkit for PHP
MIT License
1.23k stars 469 forks source link

IdPMetadataParser::parseRemoteXML - Add argument for setting whether to validate peer SSL certificate #586

Closed hcduffey closed 5 months ago

hcduffey commented 5 months ago

Taking the guidance from https://github.com/SAML-Toolkits/php-saml/issues/522, this PR adds an optional parameter to set whether parseRemoteXML will validate the peers SSL certificate when establishing a TLS connection.