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://idp.laife.lv/simplesaml/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://idp.laife.lv/simplesaml/module.php/saml/sp/metadata.php/default-sp" ID="_c770a60823d6d3b1e685e718323643e8571b2b5b502e00fb5c67a8156545bb79"><ds:Signature> <ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <ds:Reference URI="#_c770a60823d6d3b1e685e718323643e8571b2b5b502e00fb5c67a8156545bb79"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>VjA7q7OhduaY/fGrY/ATf+AD7T5EzjFTVKUShibAqzU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>jQsJeLsSGf1SogGpFJtGzFpM6vcgAPAkz2oYcT6fOt5SIm5rMcF90RzwNnvKr/gndNl6NKoZL0oHkuX7x/GY5PUcVCOAX9Y16JsEWy0zQlndF6Xnef3JUqr4yWQIy8nP4DkI0+SVkiTwFjhxw20OlOySP+IU9aLHLQApqx05lEHY/ZJmqvBBzGgV2kue0EXkipqEUz9oD/t4l5qqyvgMrzgt+02/CcD2PhwIS1Dtt58sbzEI0vxvU5Fk1cqBnlsQOhRHG3k+hEK/Vy7Uz4+RtBTVty9U+T7CBDOYbsb76yamCfa/Me4R/UW4dVYrIvzrd7Ab93O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lncKZzGt7MIvZT4IkcJ/vneyb0rlkojgRoNx/nFmVlwd5/G8fdKGeyFbJ/dp1bNNVhdrVquUmWCWqoPbmsDtoZ6EqSdQfvPhkS69PLevO6StLk82e6ydG7Qk9LGihmYj2sdga951jybkSwz4WhLlRAmyiOgNxJ/kjSX5611Fya5bQaCSu71Pvc09Hc28JY/RDWUdhuI/upO5igfwzXbJjPhxICk9eadVzi5z9hv3cxJLmPEkMI4671gdk3a1xLPZ8anRT3A5IcIw36twIDAQABo1MwUTAdBgNVHQ4EFgQUfiwFAYbamhtr6viC+h+Wje82aXAwHwYDVR0jBBgwFoAUfiwFAYbamhtr6viC+h+Wje82aXAwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAYEAExwIO4uaA1Pa3x7CzuLk1IAo5cHSv0MzkbvaEOGm6KaIACrhXlErj9q3mvHR/4XWmrdgM5r6V94mgVZslGzWsYsJSNngGmqArGdDe4IunD4ZBlokCPbIZKRPig9Z+EzvAOTWBuLz6FzD4CfnCbZ8uWvgnbsaCxuz4DI9f193stft+Do1iMdOmPNc/U2jU3iKPXlkmleyL/cBWlZdNYSzJ9Y+Qb3d66gdIRlK8DKC5ECUdsO80fC4atnMOXzqEGbQlFSDq71b59jpAIMSgzX7KtOzunsv2g1l5Sr9JyQD0A8MvvW7+zLJsXnq1SA3nbCPLGy538ghAa1En1iR9aKjW8Pq0VYZ83lpiw7jzRCb04cggSFTUWEseAq7NOG2Nr82XyPBvTe8oud6IufdQh0qE2nQzmVgZhK44BRiauIzU9WIG9wdnhLSkZTqNv1wqnIWlX5N5QK+kYHNM+OElI20CCwoUKq3sLMuuGayS4zpY7VLINQPLmawWAOiiIShIZwc</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature> <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.w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dhuI/upO5igfwzXbJjPhxICk9eadVzi5z9hv3cxJLmPEkMI4671gdk3a1xLPZ8anRT3A5IcIw36twIDAQABo1MwUTAdBgNVHQ4EFgQUfiwFAYbamhtr6viC+h+Wje82aXAwHwYDVR0jBBgwFoAUfiwFAYbamhtr6viC+h+Wje82aXAwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAYEAExwIO4uaA1Pa3x7CzuLk1IAo5cHSv0MzkbvaEOGm6KaIACrhXlErj9q3mvHR/4XWmrdgM5r6V94mgVZslGzWsYsJSNngGmqArGdDe4IunD4ZBlokCPbIZKRPig9Z+EzvAOTWBuLz6FzD4CfnCbZ8uWvgnbsaCxuz4DI9f193stft+Do1iMdOmPNc/U2jU3iKPXlkmleyL/cBWlZdNYSzJ9Y+Qb3d66gdIRlK8DKC5ECUdsO80fC4atnMOXzqEGbQlFSDq71b59jpAIMSgzX7KtOzunsv2g1l5Sr9JyQD0A8MvvW7+zLJsXnq1SA3nbCPLGy538ghAa1En1iR9aKjW8Pq0VYZ83lpiw7jzRCb04cggSFTUWEseAq7NOG2Nr82XyPBvTe8oud6IufdQh0qE2nQzmVgZhK44BRiauIzU9WIG9wdnhLSkZTqNv1wqnIWlX5N5QK+kYHNM+OElI20CCwoUKq3sLMuuGayS4zpY7VLINQPLmawWAOiiIShIZwc</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>MIIFJzCCA4+gAwIBAgIUSVQzMLFhJz4zPOgE2ZISSW/LluMwDQYJKoZIhvcNAQELBQAwgaExCzAJBgNVBAYTAkxWMRMwEQYDVQQIDApTb21lLVN0YXRlMQ0wCwYDVQQHDARSaWdhMRkwFwYDVQQKDBBMYWlmZSBGZWRlcmF0aW9uMR0wGwYDVQQLDBRMYWlmZSBGZWRlcmF0aW9uIEh1YjEV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6KaIACrhXlErj9q3mvHR/4XWmrdgM5r6V94mgVZslGzWsYsJSNngGmqArGdDe4IunD4ZBlokCPbIZKRPig9Z+EzvAOTWBuLz6FzD4CfnCbZ8uWvgnbsaCxuz4DI9f193stft+Do1iMdOmPNc/U2jU3iKPXlkmleyL/cBWlZdNYSzJ9Y+Qb3d66gdIRlK8DKC5ECUdsO80fC4atnMOXzqEGbQlFSDq71b59jpAIMSgzX7KtOzunsv2g1l5Sr9JyQD0A8MvvW7+zLJsXnq1SA3nbCPLGy538ghAa1En1iR9aKjW8Pq0VYZ83lpiw7jzRCb04cggSFTUWEseAq7NOG2Nr82XyPBvTe8oud6IufdQh0qE2nQzmVgZhK44BRiauIzU9WIG9wdnhLSkZTqNv1wqnIWlX5N5QK+kYHNM+OElI20CCwoUKq3sLMuuGayS4zpY7VLINQPLmawWAOiiIShIZwc</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.laife.lv/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://idp.laife.lv/simplesaml/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://idp.laife.lv/simplesaml/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://idp.laife.lv/simplesaml/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://idp.laife.lv/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Operation</md:GivenName> <md:SurName>team</md:SurName> <md:EmailAddress>mailto:support@vpc.lv</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://idp.laife.lv/simplesaml/module.php/saml/sp/metadata.php/default-sp'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://idp.laife.lv/simplesaml/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://idp.laife.lv/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://idp.laife.lv/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://idp.laife.lv/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://idp.laife.lv/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'support@vpc.lv', 'contactType' => 'technical', 'givenName' => 'Operation', 'surName' => 'team', ], ], 'certData' => 'MIIFJzCCA4+gAwIBAgIUSVQzMLFhJz4zPOgE2ZISSW/LluMwDQYJKoZIhvcNAQELBQAwgaExCzAJBgNVBAYTAkxWMRMwEQYDVQQIDApTb21lLVN0YXRlMQ0wCwYDVQQHDARSaWdhMRkwFwYDVQQKDBBMYWlmZSBGZWRlcmF0aW9uMR0wGwYDVQQLDBRMYWlmZSBGZWRlcmF0aW9uIEh1YjEVMBMGA1UEAwwMaWRwLmxhaWZlLmx2MR0wGwYJKoZ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