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://sso.swol123.net/simplesaml/module.php/saml/sp/metadata.php/test-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://ssotest.swol123.net"> <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>MIIDxzCCAq+gAwIBAgIJAKH00liL9jvfMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRIwEAYDVQQHDAlTdG91Z2h0b24xJTAjBgNVBAoMHENvbXB1dGVyIFNwb3J0cyBNZWRpY2luZSBJbmMxGDAWBgNVBAMMD3Nzby5zd29sMTIzLm5ldDAeFw0xODA2MDcxNjQyMjdaFw0zODA2MDYxNjQyMjdaMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRIwEAYDVQQHDAlTdG91Z2h0b24xJTAjBgNVBAoMHENvbXB1dGVyIFNwb3J0cyBNZWRpY2luZSBJbmMxGDAWBgNVBAMMD3Nzby5zd29sMTIzLm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOHbOFPUDEDn5jWP4vvoW1ho2RDErI4lapcLPbXK1lYhFqlOWBTx5EcMUwc61Fha+SAgs9sa5tLXmh7zC3bi7U6u7iDTMwUDK/DE1WV6TcdiGW0OLAnv3aCLmRSeFGGqoMkUfo8IYtQJh9yMBTtlME7Lh6ndgFv1k9AOIQegX6NCJwB9m0iu8cfHUk6fsf2g6FfN89Gq8BKoAy9EzUO/CABx/iMhvD6daZFreAXELXozW60tA7VlR3PfBrw0A+lHcTqavi8TR7u+2b5WY2rbr1xmf7Ha4Ib2GiLgvbAXiO6fvijLX6RC4V2b8b92qJkKD/l5is4U6EGX1nLeKqZOTjkCAwEAAaNQME4wHQYDVR0OBBYEFP3ETdInwrYC6ZB0hSEt1MCICWXhMB8GA1UdIwQYMBaAFP3ETdInwrYC6ZB0hSEt1MCICWXhMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAK6luwMuJzD+tfvAWmBX3cQYOqQdFqX99KuQHmHND7ge6uKgSUDbrCdnmxync+OQzvyz2HdqMyo61orn9V4hneNSCaBDQRnqD+hDx4fDMorkbO2OeHaDyH0vJGk2tcQYa+NR8hypfHetw+HZMAtD74VVhy8dph9OhxG0CoLUFz/ITO0PPqMoa1nkO5gL5cBGK2lVnjEWBB3UGU9E0s0mRk+1XDM0ZYkRrbmeDyAiiSZx0LAdnZ7J3NTJn9oqNN6u2DuMba5kEAusjBSTgEgv8FVeWkPr+BE6hMoPz/ivxY1E4RF9ZRogl4yGScVjCEtJRWqM2ZEa0QjW06X4NWUXZDI=</ds:X509Certificate> </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>MIIDxzCCAq+gAwIBAgIJAKH00liL9jvfMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRIwEAYDVQQHDAlTdG91Z2h0b24xJTAjBgNVBAoMHENvbXB1dGVyIFNwb3J0cyBNZWRpY2luZSBJbmMxGDAWBgNVBAMMD3Nzby5zd29sMTIzLm5ldDAeFw0xODA2MDcxNjQyMjdaFw0zODA2MDYxNjQyMjdaMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNz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AML:2.0:bindings:HTTP-Redirect" Location="https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-logout.php/test-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-acs.php/test-sp" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://sso.swol123.net/simplesaml/module.php/saml/sp/saml1-acs.php/test-sp" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-acs.php/test-sp" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://sso.swol123.net/simplesaml/module.php/saml/sp/saml1-acs.php/test-sp/artifact" index="3"/> </md:SPSSODescriptor> </md:EntityDescriptor>
In SimpleSAMLphp flat file format - use this if you are using a SimpleSAMLphp entity on the other side:
$metadata['https://ssotest.swol123.net'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-logout.php/test-sp', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-acs.php/test-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://sso.swol123.net/simplesaml/module.php/saml/sp/saml1-acs.php/test-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://sso.swol123.net/simplesaml/module.php/saml/sp/saml2-acs.php/test-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://sso.swol123.net/simplesaml/module.php/saml/sp/saml1-acs.php/test-sp/artifact', ], ], 'certData' => 'MIIDxzCCAq+gAwIBAgIJAKH00liL9jvfMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRIwEAYDVQQHDAlTdG91Z2h0b24xJTAjBgNVBAoMHENvbXB1dGVyIFNwb3J0cyBNZWRpY2luZSBJbmMxGDAWBgNVBAMMD3Nzby5zd29sMTIzLm5ldDAeFw0xODA2MDcxNjQyMjdaFw0zODA2MDYxNjQyMjdaMHoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRIwEAYDVQQHDAlTdG91Z2h0b24xJTAjBgNVBAoMHENvbXB1dGVyIFNwb3J0cyBNZWRpY2luZSBJbmMxGDAWBgNVBAMMD3Nzby5zd29sMTIzLm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOHbOFPUDEDn5jWP4vvoW1ho2RDErI4lapcLPbXK1lYhFqlOWBTx5EcMUwc61Fha+SAgs9sa5tLXmh7zC3bi7U6u7iDTMwUDK/DE1WV6TcdiGW0OLAnv3aCLmRSeFGGqoMkUfo8IYtQJh9yMBTtlME7Lh6ndgFv1k9AOIQegX6NCJwB9m0iu8cfHUk6fsf2g6FfN89Gq8BKoAy9EzUO/CABx/iMhvD6daZFreAXELXozW60tA7VlR3PfBrw0A+lHcTqavi8TR7u+2b5WY2rbr1xmf7Ha4Ib2GiLgvbAXiO6fvijLX6RC4V2b8b92qJkKD/l5is4U6EGX1nLeKqZOTjkCAwEAAaNQME4wHQYDVR0OBBYEFP3ETdInwrYC6ZB0hSEt1MCICWXhMB8GA1UdIwQYMBaAFP3ETdInwrYC6ZB0hSEt1MCICWXhMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAK6luwMuJzD+tfvAWmBX3cQYOqQdFqX99KuQHmHND7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