SAML 2.0 SP metadata
Her er metadata som SimpleSAMLphp har generert for deg. Du må utveksle metadata med de partene du stoler på for å sette opp en føderasjon.
Du kan nå metadata i XML-format på en dedikert URL:
https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/metadata.php/default-sp
Metadata
I 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://tullbommen.arcada.fi/simplesamlphp/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>MIIHczCCBVugAwIBAgIRANWy0vmsSN38BpPeEASdtGQwDQYJKoZIhvcNAQEMBQAwRDELMAkGA1UEBhMCTkwxGTAXBgNVBAoTEEdFQU5UIFZlcmVuaWdpbmcxGjAYBgNVBAMTEUdFQU5UIE9WIFJTQSBDQSA0MB4XDTI0MDQyOTAwMDAwMFoXDTI1MDQyOTIzNTk1OVowYjELMAkGA1UEBhMCRkkxEDAOBgNVBAgTB1V1c2ltYWExIjAgBgNVBAoMGVlya2VzaMO2Z3Nrb2xhbiBBcmNhZGEgQWIxHTAbBgNVBAMTFHR1bGxib21tZW4uYXJjYWRhLmZpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Af5oqZO2J/9MkGva6UNwDBpkdPf+OZAScaLOp0vXQmz2fnn8tHTZ73Bf4Vwm7252Fx4gGSYNU4wRTiTuo3jzaZc7PKA1iJOQVf2Glq5ys2Z7muupuHX3hSKi15065Z0d2wazfRjnUgx3TBLkyJ7ZvtjlZ6SVJ1S0wbBY6hnJ1iErJOw8UlrySSOXIq2sEPkSt8nl0Eo4P1V6VkGFU2oS3v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ruzuM8wZVGEd7f7EAp1HAHUATnWjJ1yaEMM4W2zU3z9S6x3w4I4bjWnAsfpksWKaOd8AAAGPKjfifQAABAMARjBEAiBKboHGWnKUgWoiDrbje27OdeIggj42uXk+w/MQCILLpwIgLuqSGkG4SMSx0x1U8aZa/PWtWncZuiKzu0laEg5SQU4wDQYJKoZIhvcNAQEMBQADggIBAITJ7IUvt+M9IQ8/aSbf9DNcMYM1mgO10NRzWPCl3WZPu0I0twSwTpLNWbcBnW8XxaJUDeLyvNjuD1SsciqXymenOLwgB+3QLWSHn3NmhZS5tZc8lSu7NQItC0+7GijeLKP8n9AxrBxPCJc0PnQnWdv/BJatfwnLdwB3daEnLOVE2RxzQVnmhOEVRFtoFqu1Y2HRc58Qzf1k3EIkUN2poNTVNcJQwSlM+LMtKcmKbxQA/xTRDkRQUrFszuE3ZfWfzjOy1DjmRdL4tNWYafaw6Xw19LasBCiJDjtVK47/x7j303U4fZaDY22apC7vJY6wMxxDekvs2CMItpE+qykjkL1hwiuPhPTc0fFezL5yzdG/fIpEhmqQWVvzvdCFD6ftba1D+lfgV6PHJ6MsKP/p1a0fvCLihLQ3co2XRzSUxM8421ozr6Hlqse5LOfj1pmd4A0FNDm73CH1NUFiIsVvg01joIeB+M4E0Tg4C+0N8tR6w47BixMrFhBJB2zEjgzlZTyl3ahN0zXgjiHES4cGfPN/Fjvzj6Ceoa11j7wvuQzaT85noyuBiJA9/2UmyjC+2/ptnSoi97QcOurAEan+Qzyi1n/WkIcwGIGl/Ff0XkzZ9+mOWXHbhFYVNKAqeosVeMpRGlK8v+QJeKkrA54jbLz+DYbI11+3sUvkDJ8Gsu0D</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>MIIHczCCBVugAwIBAgIRANWy0vmsSN38BpPeEASdtGQwDQYJKoZIhvcNAQEMBQAw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MItpE+qykjkL1hwiuPhPTc0fFezL5yzdG/fIpEhmqQWVvzvdCFD6ftba1D+lfgV6PHJ6MsKP/p1a0fvCLihLQ3co2XRzSUxM8421ozr6Hlqse5LOfj1pmd4A0FNDm73CH1NUFiIsVvg01joIeB+M4E0Tg4C+0N8tR6w47BixMrFhBJB2zEjgzlZTyl3ahN0zXgjiHES4cGfPN/Fjvzj6Ceoa11j7wvuQzaT85noyuBiJA9/2UmyjC+2/ptnSoi97QcOurAEan+Qzyi1n/WkIcwGIGl/Ff0XkzZ9+mOWXHbhFYVNKAqeosVeMpRGlK8v+QJeKkrA54jbLz+DYbI11+3sUvkDJ8Gsu0D</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://tullbommen.arcada.fi/simplesamlphp/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://tullbommen.arcada.fi/simplesamlphp/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://tullbommen.arcada.fi/simplesamlphp/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://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Harald</md:GivenName> <md:SurName>Hannelius</md:SurName> <md:EmailAddress>mailto:haka.technical@arcada.fi</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
I SimpleSAMLphp format - bruk denne dersom du benytter SimpleSAMLphp i den andre enden:
$metadata['https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/metadata.php/default-sp'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml2-logout.php/default-sp', ], [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'Location' => 'https://tullbommen.arcada.fi/simplesamlphp/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://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml1-acs.php/default-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://tullbommen.arcada.fi/simplesamlphp/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'haka.technical@arcada.fi', 'contactType' => 'technical', 'givenName' => 'Harald', 'surName' => 'Hannelius', ], ], 'certData' => 'MIIHczCCBVugAwIBAgIRANWy0vmsSN38BpPeEASdtGQwDQYJKoZIhvcNAQEMBQAwRDELMAkGA1UEBhMCTk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