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://pf.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://pf.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>MIIDdTCCAl2gAwIBAgIJAP/MXgoKgSUVMA0GCSqGSIb3DQEBCwUAMFExCzAJBgNVBAYTAk1LMQowCAYDVQQIDAEgMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xFjAUBgNVBAMMDXNwLnBmLnVraW0ubWswHhcNMjAwMzI4MTMxMzQ5WhcNMzAwMzI2MTMxMzQ5WjBRMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMRYwFAYDVQQDDA1zcC5wZi51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3yq2lfH16Ydw+rYbVCA2NDL9Lrcuj5gTcq3qsmBTx2DULRT+KL6SzhH89zqVc6wyMa5NMdum57cHWYsCw5zps3cU5o9vWdhnUXkW2PTTYXSAzsn26aSmCaVnNGyBM/lafbheEfzG7SaD9eGpJNqlez3pSFdOE8obwffQ03QRhtNO20Hnxs5X16od52kf45z1bUYlJvBM8HM9HF2WiG5FCQBDKL4wvKVLXC/EOGXxWeGyaRhrCE+Ptigw9S6MMFHQQxtSdE34+u2eNBM4VVa9da79Cn5o7KvhSluRFTGHq7dlES7JtcFb3Q+W8jGSAwn6rRTEn+Sf4daKyEtuMvI7kQIDAQABo1AwTjAdBgNVHQ4EFgQUCam7m/VUUMrS16K2kZOtPtO4OqAwHwYDVR0jBBgwFoAUCam7m/VUUMrS16K2kZOtPtO4OqAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAan01tGToniOFLTduUlHO0MlMKeerBwseYp7HJiI9g2xVZt4sXKIuyfA4G2Gd1tdGTrdUKZFQA0V/C2I8xzb6FTc/Fp1TShLMgksYJiVYJYBrrXAjpZ8gYUykS8Go1uMpjIGpIu0V4M514cZyl0TbsKoMDr6aeeAFvdE71xvVzmyun1d3gar+42IKHJ2+4j7Be/VCbcVpAVCiAlV9aqfLMjpJAcYJYZ7QJEDI3gymliTY/01HQ8+J8lQHzu+1yzLRnXpJmehcFY/x6S8IPgFjam2uPM3tRwOC7mKqlGHQ4e8yxhZU57pxjw6yw4vk3BtMruTJoMJgmu6TydlwmGfPcQ==</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>MIIDdTCCAl2gAwIBAgIJAP/MXgoKgSUVMA0GCSqGSIb3DQEBCwUAMFExCzAJBgNVBAYTAk1LMQowCAYDVQQIDAEgMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xFjAUBgNVBAMMDXNwLnBmLnVraW0ubWswHhcNMjAwMzI4MTMxMzQ5WhcNMzAwMzI2MTMxMzQ5WjBRMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMRYwFAYDVQQDDA1zcC5wZi51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3yq2lfH16Ydw+rYbVCA2NDL9Lrcuj5gTcq3qsmBTx2DULRT+KL6SzhH89zqVc6wyMa5NMdum57cHWYsCw5zps3cU5o9vWdhnUXkW2PTTYXSAzsn26aSmCaVnNGyBM/lafbheEfzG7SaD9eGpJNqlez3pSFdOE8obwffQ03QRhtNO20Hnxs5X16od52kf45z1bUYlJvBM8HM9HF2WiG5FCQBDKL4wvKVLXC/EOGXxWeGyaRhrCE+Ptigw9S6MMFHQQxtSdE34+u2eNBM4VVa9da79Cn5o7KvhSluRFTGHq7dlES7JtcFb3Q+W8jGSAwn6rRTEn+Sf4daKyEtuMvI7kQIDAQABo1AwTjAdBgNVHQ4EFgQUCam7m/VUUMrS16K2kZOtPtO4OqAwHwYDVR0jBBgwFoAUCam7m/VUUMrS16K2kZOtPtO4OqAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAan01tGToniOFLTduUlHO0MlMKeerBwseYp7HJiI9g2xVZt4sXKIuyfA4G2Gd1tdGTrdUKZFQA0V/C2I8xzb6FTc/Fp1TShLMgksYJiVYJYBrrXAjpZ8gYUykS8Go1uMpjIGpIu0V4M514cZyl0TbsKoMDr6aeeAFvdE71xvVzmyun1d3gar+42IKHJ2+4j7Be/VCbcVpAVCiAlV9aqfLMjpJAcYJYZ7QJEDI3gymliTY/01HQ8+J8lQHzu+1yzLRnXpJmehcFY/x6S8IPgFjam2uPM3tRwOC7mKqlGHQ4e8yxhZU57pxjw6yw4vk3BtMruTJoMJgmu6TydlwmGfPcQ==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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://pf.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' => 'MIIDdTCCAl2gAwIBAgIJAP/MXgoKgSUVMA0GCSqGSIb3DQEBCwUAMFExCzAJBgNVBAYTAk1LMQowCAYDVQQIDAEgMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xFjAUBgNVBAMMDXNwLnBmLnVraW0ubWswHhcNMjAwMzI4MTMxMzQ5WhcNMzAwMzI2MTMxMzQ5WjBRMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMRYwFAYDVQQDDA1zcC5wZi51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3yq2lfH16Ydw+rYbVCA2NDL9Lrcuj5gTcq3qsmBTx2DULRT+KL6SzhH89zqVc6wyMa5NMdum57cHWYsCw5zps3cU5o9vWdhnUXkW2PTTYXSAzsn26aSmCaVnNGyBM/lafbheEfzG7SaD9eGpJNqlez3pSFdOE8obwffQ03QRhtNO20Hnxs5X16od52kf45z1bUYlJvBM8HM9HF2WiG5FCQBDKL4wvKVLXC/EOGXxWeGyaRhrCE+Ptigw9S6MMFHQQxtSdE34+u2eNBM4VVa9da79Cn5o7KvhSluRFTGHq7dlES7JtcFb3Q+W8jGSAwn6rRTEn+Sf4daKyEtuMvI7kQIDAQABo1AwTjAdBgNVHQ4EFgQUCam7m/VUUMrS16K2kZOtPtO4OqAwHwYDVR0jBBgwFoAUCam7m/VUUMrS16K2kZOtPtO4OqAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAan01tGToniOFLTduUlHO0MlMKeerBwseYp7HJiI9g2xVZt4sXKIuyfA4G2Gd1tdGTrdUKZFQA0V/C2I8xzb6FTc/Fp1TShLMgksYJiVYJYBrrXAjpZ8gYUykS8Go1uMpjIGpIu0V4M514cZyl0TbsKoMDr6aeeAFvdE71xvVzmyun1d3gar+42IKHJ2+4j7Be/VCbcVpAVCiAlV9aqfLMjpJAcYJYZ7QJEDI3gymliTY/01HQ8+J8lQHzu+1yzLRnXpJmehcFY/x6S8IPgFjam2uPM3tRwOC7mKqlGHQ4e8yxhZU57pxjw6yw4vk3BtMruTJoMJgmu6TydlwmGfPcQ==', );