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://pfsko.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://pfsko.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>MIIDtTCCAp2gAwIBAgIURwAJ3T9I/htIrcjOzvCB3936AfowDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEmMCQGA1UEAwwdcGZza28uaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MjAxNDIzWhcNMzAwNDAyMjAxNDIzWjBqMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSYwJAYDVQQDDB1wZnNrby5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN8talAOCDZuI4BQgVJm3LLeWG9SO1GD0J7DWqiBplLO2WcpOM6lWKg5jHjHZGrex8BX2PBi1KZSJH+sFP4gKCgYhtj9hQv4462kxSHw4ArrneXv1Vp15c2laVJjAA/3qYQPIYVZ9W8pktUzSq9J7IIo1sDduxBT4QCRBQ/ix4BEV1v/Sh6sjJ9sjkyWHPFDpu5Pt3R7JQq8IM83g+LH7Kk/Ky3g3SnCL9rNkyTME7+4ybll06nB5nu4Ma3f14iblVioBiRolhzIcrUENt7cYRLNrH0SUfWOEGu2PhQYhAgjmrsLTBSHS5zEIT9sdHWfVqi5B1rRgWkGVT7D2XEHMPUCAwEAAaNTMFEwHQYDVR0OBBYEFGGpjtik+PkTiefgpYsbci140B90MB8GA1UdIwQYMBaAFGGpjtik+PkTiefgpYsbci140B90MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAIG2iNjHfNZjDtD6CFciJcVQbU+elPd2D3zoiYc1lWKMWHcev0I0Qhg3+z/ifBIozLf1SjiHlU9z5N0zGLF2n1r2U0k7E/1zroB5IMq3JwRl7Ndy+tE+/+TvRMFByDXvbPr1UQN5jBlEhC/bonbTj/rIuc7ofGi86WVytEtR9mmIpliDFFvpK0YlYrZNlVmlggeqt+Af0UbXHY/K+NkhrKsygzAB7fwAPFXV8h3j0/D33E04Q7VLIw+cnw7PrPaTFiEz4wi2Lz+E6xHH0LDQ52NusVl+z9d8q41iLDu5wbuLoJuwnIFx7igMlRxKIc/olo4PLmIVRh2aBjIskfDdQh0=</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>MIIDtTCCAp2gAwIBAgIURwAJ3T9I/htIrcjOzvCB3936AfowDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEmMCQGA1UEAwwdcGZza28uaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MjAxNDIzWhcNMzAwNDAyMjAxNDIzWjBqMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSYwJAYDVQQDDB1wZnNrby5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN8talAOCDZuI4BQgVJm3LLeWG9SO1GD0J7DWqiBplLO2WcpOM6lWKg5jHjHZGrex8BX2PBi1KZSJH+sFP4gKCgYhtj9hQv4462kxSHw4ArrneXv1Vp15c2laVJjAA/3qYQPIYVZ9W8pktUzSq9J7IIo1sDduxBT4QCRBQ/ix4BEV1v/Sh6sjJ9sjkyWHPFDpu5Pt3R7JQq8IM83g+LH7Kk/Ky3g3SnCL9rNkyTME7+4ybll06nB5nu4Ma3f14iblVioBiRolhzIcrUENt7cYRLNrH0SUfWOEGu2PhQYhAgjmrsLTBSHS5zEIT9sdHWfVqi5B1rRgWkGVT7D2XEHMPUCAwEAAaNTMFEwHQYDVR0OBBYEFGGpjtik+PkTiefgpYsbci140B90MB8GA1UdIwQYMBaAFGGpjtik+PkTiefgpYsbci140B90MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAIG2iNjHfNZjDtD6CFciJcVQbU+elPd2D3zoiYc1lWKMWHcev0I0Qhg3+z/ifBIozLf1SjiHlU9z5N0zGLF2n1r2U0k7E/1zroB5IMq3JwRl7Ndy+tE+/+TvRMFByDXvbPr1UQN5jBlEhC/bonbTj/rIuc7ofGi86WVytEtR9mmIpliDFFvpK0YlYrZNlVmlggeqt+Af0UbXHY/K+NkhrKsygzAB7fwAPFXV8h3j0/D33E04Q7VLIw+cnw7PrPaTFiEz4wi2Lz+E6xHH0LDQ52NusVl+z9d8q41iLDu5wbuLoJuwnIFx7igMlRxKIc/olo4PLmIVRh2aBjIskfDdQh0=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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://pfsko.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' => 'MIIDtTCCAp2gAwIBAgIURwAJ3T9I/htIrcjOzvCB3936AfowDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEmMCQGA1UEAwwdcGZza28uaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MjAxNDIzWhcNMzAwNDAyMjAxNDIzWjBqMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSYwJAYDVQQDDB1wZnNrby5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN8talAOCDZuI4BQgVJm3LLeWG9SO1GD0J7DWqiBplLO2WcpOM6lWKg5jHjHZGrex8BX2PBi1KZSJH+sFP4gKCgYhtj9hQv4462kxSHw4ArrneXv1Vp15c2laVJjAA/3qYQPIYVZ9W8pktUzSq9J7IIo1sDduxBT4QCRBQ/ix4BEV1v/Sh6sjJ9sjkyWHPFDpu5Pt3R7JQq8IM83g+LH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