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://fvm-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://fvm-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>MIIDvTCCAqWgAwIBAgIUSjgE6IjALKH2UwSVhPBCY4KZxLUwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZnZtLXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MzIzMVoXDTMwMDQwMzE3MzIzMVowbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZnZtLXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvtboDY5JPFMxGyRc5QePCL4jGrHuiVmF16shl9/xzGgTVPePOZSgJGGv2Yva4EOryIc41lzcdgKb0zrJh7qhVw822wiIx9z9UYSZvkRS/zCByobi/UZrzhWxjCT4Lyd9uzPpyj+wzt6+kY31qR+bV2sAsmVdbqzM+90Nk02A0iwCGj3PsnWez1+NYsew9VIK+D5nIrPXQ9TqCUtSXlVPMTAHm2SwGT907GOh8kv8bvX5nJJpQvEQQpKUPa6qoV7l5mBjtemBJ7TQR5ybXz4w5CKzjDFY+ahKUCP091KR61/1ZDqb6kK9EpxxnBeMjy/Uuhi2IvKIfDjy4H1kE0ODvwIDAQABo1MwUTAdBgNVHQ4EFgQUGwrEf+We4/tU2lNpl0wYpyMNFrowHwYDVR0jBBgwFoAUGwrEf+We4/tU2lNpl0wYpyMNFrowDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAEvh4zHGWpenM3VnuexfZcvTSQjNRag4pOEeDSZnAO0RUCdO5RodHakCyTE3Xc3pr+WYU1RoQYX0tMztp0GXFR1w7a7w2Ql4CkYP4DmdUdHn72rnv4js7SCokWP4pu73KDR7gdSp1oR3bffgrl4B+rIyMgtBt7VO3hFvAk2w/fmh0//BaLKWip6NMIC70r0Eb6n9Uf1aPBfbIfLzDkI1+F1samtfOhtrWJnJ+bolVyum80Xa6EgEAKiE28iUmSSVGsAlmnlH5OW2kLf/L0sI7f+zRA0TtSDIXgn4WAIEgb2jLYHAOvhXrBniibH8eXIl8CZFAekmNr2KNoCKZZnnGeg==</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>MIIDvTCCAqWgAwIBAgIUSjgE6IjALKH2UwSVhPBCY4KZxLUwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZnZtLXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MzIzMVoXDTMwMDQwMzE3MzIzMVowbjELMAkGA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="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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://fvm-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' => 'MIIDvTCCAqWgAwIBAgIUSjgE6IjALKH2UwSVhPBCY4KZxLUwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZnZtLXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MzIzMVoXDTMwMDQwMzE3MzIzMVowbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZnZtLXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvtboDY5JPFMxGyRc5QePCL4jGrHuiVmF16shl9/xzGgTVPePOZSgJGGv2Yva4EOryIc41lzcdgKb0zrJh7qhVw822wiIx9z9UYSZvkRS/zCByobi/UZrzhWxjCT4Lyd9uzPpyj+wzt6+kY31qR+bV2sAsmVdbqzM+90Nk02A0iwCGj3PsnWez1+NYsew9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