Dansk | English

SAML 2.0 tjenesteudbyders metadata

Her er det metadata, som SimpleSAMLphp har genereret. Du kan sende det til dem du stoler i forbindelse med oprettelsen af en føderation.

Du kan få metadata-xml her:

https://hpc-wayf.sdu.dk/module.php/saml/sp/metadata.php/nemid

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://hpc-wayf.sdu.dk/module.php/saml/sp/metadata.php/nemid">
  <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol" AuthnRequestsSigned="true">
    <md:KeyDescriptor use="signing">
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:X509Data>
          <ds:X509Certificate>MIIE+jCCA+KgAwIBAgILAQAAAAABKhMOZNwwDQYJKoZIhvcNAQEFBQAwajEjMCEGA1UECxMaT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0ExEzARBgNVBAoTCkdsb2JhbFNpZ24xLjAsBgNVBAMTJUdsb2JhbFNpZ24gT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0EwHhcNMTAwNzI3MDc0MDA3WhcNMTIxMDIyMTQyNzMyWjB2MQswCQYDVQQGEwJkazEPMA0GA1UECBMGT2RlbnNlMQ8wDQYDVQQHEwZPZGVuc2UxEzARBgNVBAsTCklULVNlcnZpY2UxHTAbBgNVBAoTFFN5ZGRhbnNrIFVuaXZlcnNpdGV0MREwDwYDVQQDFAgqLnNkdS5kazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANlSmt/4aNVKkSCuJgF6B2ot8nGwQjyWN3Bzs6ek06xqMl+iWA9oy7Xu1xoP4QCoRkrkwykbIywPFxfB3jh4wOPRPTQlI0mfcw/FlIxfNkrD43B3Vgi9ZXPt5i8Igx6ztj6rVoZeIkEiciQLT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vfL2amWhfvgfAoxQOEn08JcvLvre7dhn8moQ+OpclPY4BzzgDX1eXEN6ssaSh</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>MIIE+jCCA+KgAwIBAgILAQAAAAABKhMOZNwwDQYJKoZIhvcNAQEFBQAwajEjMCEGA1UECxMaT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0ExEzARBgNVBAoTCkdsb2JhbFNpZ24xLjAsBgNVBAMTJUdsb2JhbFNpZ24gT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0EwHhcNMTAwNzI3MDc0MDA3WhcNMTIxMDIyMTQyNzMyWjB2MQswCQYDVQQGEwJkazEPMA0GA1UECBMGT2RlbnNlMQ8wDQYDVQQHEwZPZGVuc2UxEzARBgNVBAsTCklULVNlcnZpY2UxHTAbBgNVBAoTFFN5ZGRhbnNrIFVuaXZlcnNpdGV0MREwDwYDVQQDFAgqLnNkdS5kazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANlSmt/4aNVKkSCuJgF6B2ot8nGwQjyWN3Bzs6ek06xqMl+iWA9oy7Xu1xoP4QCoRkrkwykbIywPFxfB3jh4wOPRPTQlI0mfcw/FlIxfNkrD43B3Vgi9ZXPt5i8Igx6ztj6rVoZeIkEiciQLTeAMuHk9qAzGPMDors0Fox1ZfKBM6YQZzj0+EHM8KibHfW6bfTYJQk+3neeX56WFkn+00bNwiM4NxTLvUUu+UCmC1ZvTQqgtyngqSJeorLav2ydPSpJIwHCO5Xg+g/lO51SVYsuboPYRuwF9XAaBChSBZ7U0yQs9KtLXccb8yDV4sI81sBZrdj+1BzLy5kyeirCP6dcCAwEAAaOCAZMwggGPMB8GA1UdIwQYMBaAFH1tKuxmq6dRNqsCafFwj8RZC5ofMEkGCCsGAQUFBwEBBD0wOzA5BggrBgEFBQcwAoYtaHR0cDovL3NlY3VyZS5nbG9iYWxzaWduLm5ldC9jYWNlcnQvb3JndjEuY3J0MD8GA1UdHwQ4MDYwNKAyoDCGLmh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5uZXQvT3JnYW5pemF0aW9uVmFsMS5jcmwwHQYDVR0OBBYEFJ8mB8GS4VSs8B+PJHvx3FLcUBxmMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCkGA1UdJQQiMCAGCCsGAQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNwoDAzBLBgNVHSAERDBCMEAGCSsGAQQBoDIBFDAzMDEGCCsGAQUFBwIBFiVodHRwOi8vd3d3Lmdsb2JhbHNpZ24ubmV0L3JlcG9zaXRvcnkvMBEGCWCGSAGG+EIBAQQEAwIGwDAbBgNVHREEFDASgggqLnNkdS5ka4IGc2R1LmRrMA0GCSqGSIb3DQEBBQUAA4IBAQB2W9forwa0No/ialIhjtTQvk0u2fI3Tg/Ochd0O1k+UFrN5GUy5uWziq4J2NRxCZYJPeBmLMzZmQyOgePCL2APOTX3p7BJ56+Jpw0ZKfy2E13c/PLCcKWsOgCSpZtQEXH2P0spBHjpdAMX3i0hoVS5LI5wY3LrXOFja603L1/pO0b4XIk0xSXt+4IjVLCDDuwwXTEXfSN1AZQ6KkJb9NbSXQPllkQATYw4/FNSx2x4zYsBQ1kK0mje1mrSTVAADA4q8PIQoe7kkeJmRLx1ERHzEIqvfL2amWhfvgfAoxQOEn08JcvLvre7dhn8moQ+OpclPY4BzzgDX1eXEN6ssaSh</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-logout.php/nemid"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-acs.php/nemid" index="0"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://hpc-wayf.sdu.dk/module.php/saml/sp/saml1-acs.php/nemid" index="1"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-acs.php/nemid" index="2"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://hpc-wayf.sdu.dk/module.php/saml/sp/saml1-acs.php/nemid/artifact" index="3"/>
  </md:SPSSODescriptor>
  <md:ContactPerson contactType="technical">
    <md:GivenName>Administrator</md:GivenName>
    <md:EmailAddress>mailto:lasse@sdu.dk</md:EmailAddress>
  </md:ContactPerson>
</md:EntityDescriptor>

I SimpleSAMLphp flat-file format - brug dette hvis du også bruger SimpleSAMLphp i den anden ende;

$metadata['https://hpc-wayf.sdu.dk/module.php/saml/sp/metadata.php/nemid'] = [
    'SingleLogoutService' => [
        [
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
            'Location' => 'https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-logout.php/nemid',
        ],
    ],
    'AssertionConsumerService' => [
        [
            'index' => 0,
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
            'Location' => 'https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-acs.php/nemid',
        ],
        [
            'index' => 1,
            'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post',
            'Location' => 'https://hpc-wayf.sdu.dk/module.php/saml/sp/saml1-acs.php/nemid',
        ],
        [
            'index' => 2,
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact',
            'Location' => 'https://hpc-wayf.sdu.dk/module.php/saml/sp/saml2-acs.php/nemid',
        ],
        [
            'index' => 3,
            'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01',
            'Location' => 'https://hpc-wayf.sdu.dk/module.php/saml/sp/saml1-acs.php/nemid/artifact',
        ],
    ],
    'contacts' => [
        [
            'emailAddress' => 'lasse@sdu.dk',
            'contactType' => 'technical',
            'givenName' => 'Administrator',
        ],
    ],
    'certData' => 'MIIE+jCCA+KgAwIBAgILAQAAAAABKhMOZNwwDQYJKoZIhvcNAQEFBQAwajEjMCEGA1UECxMaT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0ExEzARBgNVBAoTCkdsb2JhbFNpZ24xLjAsBgNVBAMTJUdsb2JhbFNpZ24gT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gQ0EwHhcNMTAwNzI3MDc0MDA3WhcNMTIxMDIyMTQyNzMyWjB2MQswCQYDVQQGEwJkazEPMA0GA1UECBMGT2RlbnNlMQ8wDQYDVQQHEwZPZGVuc2UxEzARBgNVBAsTCklULVNlcnZpY2UxHTAbBgNVBAoTFFN5ZGRhbnNrIFVuaXZlcnNpdGV0MREwDwYDVQQDFAgqLnNkdS5kazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANlSmt/4aNVKkSCuJgF6B2ot8nGwQjyWN3Bzs6ek06xqMl+iWA9oy7Xu1xoP4QCoRkrkwykbIywPFxfB3jh4wOPRPTQlI0mfcw/FlIxfNkrD43B3Vgi9ZXPt5i8Igx6ztj6rVoZeIkEiciQLTeAMuHk9qAzGPMDors0Fox1ZfKBM6YQZzj0+EHM8KibHfW6bfTYJQk+3neeX56WFkn+00bNwiM4NxTLvUUu+UCmC1ZvTQqgtyngqSJeorLav2ydPSpJIwHCO5Xg+g/lO51SVYsuboPYRuwF9XAaBChSBZ7U0yQs9KtLXccb8yDV4sI81sBZrdj+1BzLy5kyeirCP6dcCAwEAAaOCAZMwggGPMB8GA1UdIwQYMBaAFH1tKuxmq6dRNqsCafFwj8RZC5ofMEkGCCsGAQUFBwEBBD0wOzA5BggrBgEFBQcwAoYtaHR0c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