SAML 2.0 SP Metadata
Here is the metadata that SimpleSAMLphp has generated for you. You may send this metadata document to trusted partners to setup a trusted federation.
You can get the metadata xml on a dedicated URL:
https://simplesaml.mentorar.com.br/module.php/saml/sp/metadata.php/default-sp
Metadata
In SAML 2.0 Metadata XML format:
<?xml version="1.0"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://simplesaml.mentorar.com.br/module.php/saml/sp/metadata.php/default-sp"> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol"> <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIFATCCA2mgAwIBAgIJAJQPFc+0G1MNMA0GCSqGSIb3DQEBCwUAMIGWMQswCQYDVQQGEwJCUjEVMBMGA1UECAwMTWluYXMgR2VyYWlzMRMwEQYDVQQHDApJdGFqdWLDg8KhMREwDwYDVQQKDAhNZW50b3JhcjERMA8GA1UECwwITWVudG9yYXIxETAPBgNVBAMMCE1lbnRvcmFyMSIwIAYJKoZIhvcNAQkBFhNmZWxpcGVAbWVudG9yYXIuY29tMB4XDTIxMTAxNTE0MjExNVoXDTMxMTAxNTE0MjExNVowgZYxCzAJBgNVBAYTAkJSMRUwEwYDVQQIDAxNaW5hcyBHZXJhaXMxEzARBgNVBAcMCkl0YWp1YsODwqExETAPBgNVBAoMCE1lbnRvcmFyMREwDwYDVQQLDAhNZW50b3JhcjERMA8GA1UEAwwITWVudG9yYXIxIjAgBgkqhkiG9w0BCQEWE2ZlbGlwZUBtZW50b3Jhci5jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC4iizeEmxa0l3TmSEGrWf3bXmEtE3IPoswbfSHn3sTu7aQSeKmHzc5itP7E2ktmKt2S20aS4NxK/MEa63oay7YTA4TN0OR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Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:KeyDescriptor use="encryption"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIFATCCA2mgAwIBAgIJAJQPFc+0G1MNMA0GCSqGSIb3DQEBCwUAMIGWMQswCQYDVQQGEwJCUjEVMBMGA1UECAwMTWluYXMgR2VyYWlzMRMwEQYDVQQHDApJdGFqdWLDg8KhMREwDwYDVQQKDAhNZW50b3JhcjERMA8GA1UECwwITWVudG9yYXIxETAPBgNVBAMMCE1lbnRvcmFyMSIwIAYJKoZIhvcNAQkBFhNmZWxpcGVAbWVudG9yYXIuY29tMB4XDTIxMTAxNTE0MjExNVoXDTMxMTAxNTE0MjExNVowgZYxCzAJBgNVBAYTAkJSMRUwEwYDVQQIDAxNaW5hcyBHZXJhaXMxEzARBgNVBAcMCkl0YWp1YsODwqExETAPBgNVBAoMCE1lbnRvcmFyMREwDwYDVQQLDAhNZW50b3JhcjERMA8GA1UEAwwITWVudG9yYXIxIjAgBgkqhkiG9w0BCQEWE2ZlbGlwZUBtZW50b3Jhci5jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC4iizeEmxa0l3TmSEGrWf3bXmEtE3IPoswbfSHn3sTu7aQSeKmHzc5itP7E2ktmKt2S20aS4NxK/MEa63oay7YTA4TN0ORZoVRaVPsRUQ/ojnwYgbA0LabPOHHYcMQLKripGY+uFwUNqBhPHKoDDmakGAfjx9wezUm6NHwVaj6XZOJ0IDPSJcGtdmyKVCt51asIPMQ08e/zwnkxxyqgFlMhMB4pG0KeX+my0T0z8plDUY3sp1k9+vlewpXyDElHTdea91izAueMKc7suo7jYYdjvsAR9smeYMOcPoM7Mx2AGw5tUTUFpzSSUT/pCPXvj53Lmas9vWkqnt7Wtq9aBBlWHo6wClLFlcPPNmoubyrtYDT/DZ6vy9fmTuJrAbNR5Tpa9nQg1R8eFiU3PuxWH+hS9RefeZrKWrOvE1t9EPfOx/4+TIv0SdeCAYJZfNmG1yskhEguXp8Pf7F53ho+N2Nm4p+ec0Ra+otiq+/PAs7hft0qxrFGa8KMDxP64yhhpECAwEAAaNQME4wHQYDVR0OBBYEFHG9qPMROYUGINij0vkHiBjT8bWsMB8GA1UdIwQYMBaAFHG9qPMROYUGINij0vkHiBjT8bWsMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggGBADi6aI/Sg4UjaVcx2BpAd7lo6oWjYuLu0VT2UjLAfWMqPh96upQZOqH7nFQmcKR+E76AZ2uXkuYvciGMYLBbqNIhD4rSh3yZ0DP7AdoxUvxXWbIaclLs+02z5mYJwB7V3ibU2XonaaEkN9X0y9d4lja+a6uW+TBr3erY5HpFBLK/8mzPuqSeIaC0heoj3AczRLhCuJYa2/3g1ydiGttW0D/HqzIZQbE8DKbK2xf4XxtpUZy5wNeTKyeW9yVCfvRvNgejHh8tsJ19Xtt2SUOc9auIwRCrSmfhZm1we+6To2f8tCBfzqkpRuSpsnj67N3vySeUCOkTzg16h68vXS/YO/0eZAWeGH8QYUMAdcWwULL9egWc9hytJRfJr6udopVlnToMo6Mg6NDgiAWN2zLVfaRUt0meHiYGyMGN9ufBUQs3Tt5P5gpeEjGgI8bW0nkyW2h5llTFpo3HezN5XOPe+cJkpeiBevojHjaYeEsnYlduJtS+AotHKFkpeVilMSJCGQ==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-acs.php/default-sp" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://simplesaml.mentorar.com.br/module.php/saml/sp/saml1-acs.php/default-sp" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-acs.php/default-sp" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://simplesaml.mentorar.com.br/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Administrator</md:GivenName> <md:EmailAddress>mailto:contato@mentorar.com.br</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
In SimpleSAMLphp flat file format - use this if you are using a SimpleSAMLphp entity on the other side:
$metadata['https://simplesaml.mentorar.com.br/module.php/saml/sp/metadata.php/default-sp'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-logout.php/default-sp', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://simplesaml.mentorar.com.br/module.php/saml/sp/saml1-acs.php/default-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://simplesaml.mentorar.com.br/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://simplesaml.mentorar.com.br/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'contato@mentorar.com.br', 'contactType' => 'technical', 'givenName' => 'Administrator', ], ], 'certData'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