SAML 2.0 SP Metadata
Hona hemen SimpleSAMLphp-ak zuretzat sortu dituen metadatuak. Metadatuen dokumentu hau konfidantzazko zure kideei bidal diezaiekezu federazio bat konfiguratzeko.
xml metadatuekin URL bat eskura dezakezu:
https://ist.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp
Metadatuak
SAML 2.0 metadatuetako xml formatuan:
<?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://ist.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>MIIDsTCCApmgAwIBAgIUbn2wsWLvRZr2DD+fH3LA9aDzYfUwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbaXN0LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIxMDMwMzIwMTM1OFoXDTMxMDMwMTIwMTM1OFowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbaXN0LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz8PM38aPmukiwTsvtEVw/d6LQFlIwENNEwzKNvXL2tcVzPCEM8S6HZuwMEbh7z/qHURrv9tDJZiSEbXMGhweSQKYZBWUPEHvF+dDOXV894oa3TbeCD7Y1jL63WY5YMuG6YU7nAuDWa5SVT6hADk7rg3sXzImKHnFOZ3mVV2+T1ibGBgAlQcDI1caLYvFIAT7f39WGJQagE+OuTLvFdC4ovMRhV994ZLP9BkS3wTUHQIH2HjHWpHV1THeNXuWgx+R/AUkR1LX9x8eriHOAnhV7Edy5n9QWgom9nhHi6OjkUaOUcRPaHKW2dXxeF/M3rjcENCOXJNM4sBLRmJq8whNnQIDAQABo1MwUTAdBgNVHQ4EFgQUOPIVtYt6WtH6lZTPnk0zkSiQ4lMwHwYDVR0jBBgwFoAUOPIVtYt6WtH6lZTPnk0zkSiQ4lMwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEANQYAC4+x4dT2VzdR54sB8IVZjuZ5o6ylCtz+hMdERXo6cAhxwXQQTTSOuXy+U79bGtATN2OLcjNwfVN+jQYEAzUvRjm+rvMcD7J+ClBaQiwXkMP+W5s8yfveCMM496C5OEw6fAGuMLreqNfDZnyl9idM532tj3MBdJQyQP/vDjHtGUYgNxeDryJGbVZb21XVbSXXBS62xpox5qPA6Wj5GJVrDsdt+HGI0/e0ATP8B/fQbQpiec4SEn/HtwSvtKw+TdygPekBMxO1X1YSEoWkGcDXynDGE4Wa2P+TXniWWZGwrbj3Or97DdLMhAKnMQhBUYmaYUsIgPYkLfZryKWRyg==</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>MIIDsTCCApmgAwIBAgIUbn2wsWLvRZr2DD+fH3LA9aDzYfUwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbaXN0LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIxMDMwMzIwMTM1OFoXDTMxMDMwMTIwMTM1OFowaDELMA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:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://ist.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://ist.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://ist.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://ist.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://ist.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>
SimpleSAMLphp formatuko fitxategi batean - beste muturrean SimpleSAMLphp entitate bat erabiltzen ariz gero, erabil ezazu aukera hau:
$metadata['https://ist.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://ist.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://ist.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://ist.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://ist.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://ist.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' => 'MIIDsTCCApmgAwIBAgIUbn2wsWLvRZr2DD+fH3LA9aDzYfUwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbaXN0LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIxMDMwMzIwMTM1OFoXDTMxMDMwMTIwMTM1OFowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbaXN0LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz8PM38aPmukiwTsvtEVw/d6LQFlIwENNEwzKNvXL2tcVzPCEM8S6HZuwMEbh7z/qHURrv9tDJZiSEbXMGhweSQKYZBWUPEHvF+dDOXV894oa3TbeCD7Y1jL63WY5YMuG6YU7nAuDWa5SVT6hADk7rg3sXzImKHnFOZ3mVV2+T1ibGBgAlQcDI1caLYvFIAT7f39WGJQagE+OuTLvFdC4ovMRhV994ZLP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