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://fdu-staff.idp-proxy.finki.ukim.mk/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://fdu-staff.idp-proxy.finki.ukim.mk/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>MIIDqzCCApOgAwIBAgIUZ60Rso1q5NPynOPoi7gtTvvW7TkwDQYJKoZIhvcNAQELBQAwZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmR1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTEyMDMzOFoXDTMwMDMzMDEyMDMzOFowZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmR1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoY8SMyLp+fDxBZ2zb0DXPTGy+axX6CBSc8S4mnHj7MMvjnYwQmkOk2EEgFLIurA6EKhA2pXSHJCgbXQxaUmFR0Xx0aXxnsteNvLwn/zJVuEV8XwBMkLUcG771CnYGrie2tZvPLGn6qp1408IkZRiFqPxIkKgiFRxc/VJCNYDYn2ML00vliFs/8Qf78uBJzKQFwkI/RddRQ2gNXMhoYleWYOvEyFff5GyA8oKPzBD/GZ3M0fCr7PkhdSmr5XS6Lb/KSsdXXwben1ZwznXXgGB5HeYg2xtHd5WkrVD6fU2IYAgovyggHwCKvNWc4sMYykp5Qb4/oPKEK0IyuDgZNaImwIDAQABo1MwUTAdBgNVHQ4EFgQUuh1AWF+sXi/RhL52N1dyQLhpE2kwHwYDVR0jBBgwFoAUuh1AWF+sXi/RhL52N1dyQLhpE2kwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAjLSMZ9WLq0e4Zp242DZrn2lDjHff8uT21K6cWVpxrqBpJ4MrKwi8Qi20yXbr5IBpmQKX61vxx3e4/TAGDKbhK9XWK+Apwhljzd9s+f+p6B88HjwkMS/SAU2rAxklbotm0D6e840QZb1lxj9JkcWtv+L1G/eOKMPz1YdClEm9sZHNcvJVeaBzZ9dw+FLnkndkRG3R1cTO7spfi3AAyOxgnKEQ8sTG82l1QVVhsFWzONsRLou3c0nPS8AC+Nq8Rfn3WzBmfRrHT9zXo1ld85DJ4e3hB/Yk4QeWem9GKvI6Yx3U76osHC1h1R4TmUG5A2yB87YxKX8jstbfXLmRuGohTg==</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>MIIDqzCCApOgAwIBAgIUZ60Rso1q5NPynOPoi7gtTvvW7TkwDQYJKoZIhvcNAQELBQAwZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmR1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTEyMDMzOFoXDTMwMDMzMDEyMDMzOFowZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxD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Redirect" Location="https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://fdu-staff.idp-proxy.finki.ukim.mk/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://fdu-staff.idp-proxy.finki.ukim.mk/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://fdu-staff.idp-proxy.finki.ukim.mk/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://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>FINKI</md:GivenName> <md:SurName>FCC</md:SurName> <md:EmailAddress>fcc@finki.ukim.mk</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
I SimpleSAMLphp format - bruk denne dersom du benytter SimpleSAMLphp i den andre enden:
$metadata['https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp'] = array ( 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-logout.php/default-sp', ), ), 'AssertionConsumerService' => array ( 0 => array ( 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp', ), 1 => array ( 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp', ), 2 => array ( 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp', ), 3 => array ( 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://fdu-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ), ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'fcc@finki.ukim.mk', 'contactType' => 'technical', 'givenName' => 'FINKI', 'surName' => 'FCC', ), ), 'certData' => 'MIIDqzCCApOgAwIBAgIUZ60Rso1q5NPynOPoi7gtTvvW7TkwDQYJKoZIhvcNAQELBQAwZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmR1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTEyMDMzOFoXDTMwMDMzMDEyMDMzOFowZTELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmR1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoY8SMyLp+fDxBZ2zb0DXPTGy+axX6CBSc8S4mnHj7MMvjnYwQmkOk2EEgFLIurA6EKhA2pXSHJCgbXQxaUmFR0Xx0aXxnsteNvLwn/zJVuEV8XwBMkLUcG771CnYGrie2tZvPLGn6qp1408IkZRiFqPxIkKgiFRxc/VJCNYDYn2ML00vliFs/8Qf78uBJzKQFwkI/RddRQ2gNXMhoYleWYOvEyFff5GyA8oKPzBD/GZ3M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