Metadati SAML 2.0 SP
Questi sono i metadati che SimpleSAMLphp ha generato e che possono essere inviati ai partner fidati per creare una federazione tra siti.
Si possono ottenere i metadati in XML dall'URL dedicata:
https://fdtme-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp
Metadati
Metadati SAML 2.0 in formato XML:
<?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://fdtme-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>MIIDwTCCAqmgAwIBAgIUHHQB5Z3GvsErVf8QFhvxDvRZ1qYwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmR0bWUtc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTcyMjEyWhcNMzAwNDAzMTcyMjEyWjBwMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSwwKgYDVQQDDCNmZHRtZS1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKgJWAtZ13SJ/9EbeEpcplXbTPAFFaWyZD3yNXrFgWp11MyV/tM1EOP/78lwvEdMovM7mkM98/uTFNLUarsgOtW69w14t0E6KeT+ZY+3mOLg8QzK/E/5uT/5pZf1X3UVAA260VkOjgtumT1ponDwcSqcCA23zCBusYmx386xK128h13J32KkaIia+6u7qYXN8Ld2BOnYuLThyJ+2JFflsPxG9boU3V6JDtUP2F/b0TbacE4uTYb/HgVxTPUnr3G3X4d1+bjrxP1laLcyW9Sd5FVgiTE2YqCBo00J6AkydZhBjcKz4Xx3HAkRugiIvjcNuE3O/PhvvTmd6lh7fPHMzusCAwEAAaNTMFEwHQYDVR0OBBYEFOkbU9EbaHLT5/4IN2GYl2IB02hnMB8GA1UdIwQYMBaAFOkbU9EbaHLT5/4IN2GYl2IB02hnMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAISKRvYx/osKkDxQ3jXTsVXtBw/LuG2uFJVOYMpk5tu4ORyZ583DlIt2HF69aPfe9Pb83S6C3+H+O+FybXsD9Tid+DPeNG0MT+Kdpm1FPGW37OExuPPa+296TBV0gl1GamM/PQuvMx5UUoZ8Y5vly/qMCa++asDy9E8YCVsjAE9x9z7IiABYSdrgT0PhKI4xrrBY10O/iIcrTMxtdFzx6XJuIka7qfUMHGaIVBIKbBzd84l7+5OXKXAOAoS5n8IX4kCRDpA5nhWYGqEtStKMfIDlXcIGC4m8qUdHZYcmoRnny5V3FDkFZHfpR/AjHRia2Qv4IcMyRUfAVvUyGH4FlAM=</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>MIIDwTCCAqmgAwIBAgIUHHQB5Z3GvsErVf8QFhvxDvRZ1qYwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmR0bWUtc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTcyMjEyWhcNMzAwNDAzMTcyMjEyWjB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ding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://fdtme-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://fdtme-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://fdtme-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://fdtme-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://fdtme-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>
In formato flat per SimpleSAMLphp - da utilizzare se dall'altra parte c'è un'entità che utilizza SimpleSAMLphp
$metadata['https://fdtme-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://fdtme-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://fdtme-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://fdtme-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://fdtme-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://fdtme-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' => 'MIIDwTCCAqmgAwIBAgIUHHQB5Z3GvsErVf8QFhvxDvRZ1qYwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmR0bWUtc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTcyMjEyWhcNMzAwNDAzMTcyMjEyWjBwMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSwwKgYDVQQDDCNmZHRtZS1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKgJWAtZ13SJ/9EbeEpcplXbTPAFFaWyZD3yNXrFgWp11MyV/tM1EOP/78lwvEdMovM7mkM98/uTFNLUarsgOtW69w14t0E6KeT+ZY+3mOLg8QzK/E/5uT/5pZf1X3UVAA260VkOjgtumT1ponDwcSqcCA23zC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