SAML 2.0 SP Metadata
Her er metadata generert av SimpleSAMLphp for deg. Du kan senda dette metadata-dokumentet til dine partnarar, slik at de kan setja opp ein tillitsføderasjon.
Du kan få metadata i XML på ein URL:
https://mycampusdirector2.com/auth/module.php/saml/sp/metadata.php/saml-oklahoma
Metadata
På SAML 2.0 metadata XML-format
<?xml version="1.0" encoding="UTF-8"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://mycampusdirector2.com/auth/module.php/saml/sp/metadata.php/saml-oklahoma"> <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>MIIEFzCCAv+gAwIBAgIJANy04ko70X+KMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYDVQQGEwJVUzEQMA4GA1UECAwHSW5kaWFuYTEPMA0GA1UEBwwGQ2FybWVsMRgwFgYDVQQKDA9UZWNobmlwaGksIEluYy4xETAPBgNVBAsMCFNvZnR3YXJlMR4wHAYDVQQDDBVteWNhbXB1c2RpcmVjdG9yMi5jb20xIjAgBgkqhkiG9w0BCQEWE2xlY2tvQHRlY2huaXBoaS5jb20wHhcNMTcwMzE3MDI1NDI1WhcNMjcwMzE3MDI1NDI1WjCBoTELMAkGA1UEBhMCVVMxEDAOBgNVBAgMB0luZGlhbmExDzANBgNVBAcMBkNhcm1lbDEYMBYGA1UECgwPVGVjaG5pcGhpLCBJbmMuMREwDwYDVQQLDAhTb2Z0d2FyZTEeMBwGA1UEAwwVbXljYW1wdXNkaXJlY3RvcjIuY29tMSIwIAYJKoZIhvcNAQkBFhNsZWNrb0B0ZWNobmlwaGkuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw7sRAWfj6NUbUw0E0k/9aQFpaUbpWXyuEOCNRYyv3jns1BfffHEgy43Qn6VwKHOxOgWBTbILGXImWPCszIRtsl25f2J+gIOdgY/DP6Rn0tcC7Jag3olz5uEXCBfYxFaywcb/IxBg53xSYqmPbuFHSXAz/piIFG2hdd6EOVUgd3jJjRNDaTKCSEvFWuFza9auCF4fTZ5v16wichHVFVMoV9Iu3bK9uFL1Bb4Zw08eDmYb1f97zlwLvJyJw6f9L7ugTQ9j3bglBpBJReNX4TyNizzZgxYRuqNxxqFOvnhIMDojvPRpY/DpgzCPGJVAyFWnzVk5Z601xwYY8dYfJ2V8SQIDAQABo1AwTjAdBgNVHQ4EFgQUookyCHBRNb+GLH31xYTKkttrzcowHwYDVR0jBBgwFoAUookyCHBRNb+GLH31xYTKkttrzcowDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAZBjl66X9u5ixto1D65FVuFFzkHMSOK6ikxBVbNPMKoxGlBqX3OuJU0qIGZTn277/06nGONfvhE/rdZacMiAPa3d09HBg6lwSBmt5N0T2GI2f3cdYyFHqH6/IZB854ZpnUnjVJWdAE9FDxNZIkbIXspUtLBJLFmpz6Q0BEU0BbBL8UyhI7JTZCkQPKeXkLcbX+vxas2Lrw7YLNAyhtzvcaA+IGJv+mtGKVql6nJylf8xFKMJE0qyZmUh0q/+iah9DoLS4OeT2aYKemfXsdRu8xdf+7K5lBwgWOoL8Xs8JLCqqR3x1YyIJ02filxlaSRkXoy3TNEkZp09F/UtVyHqIyg==</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>MIIEFzCCAv+gAwIBAgIJANy04ko70X+KMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYDVQQGEwJVUzEQMA4GA1UECAwHSW5kaWFuYTEPMA0GA1UEBwwGQ2FybWVsMRgwFgYDVQQKDA9UZ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JLFmpz6Q0BEU0BbBL8UyhI7JTZCkQPKeXkLcbX+vxas2Lrw7YLNAyhtzvcaA+IGJv+mtGKVql6nJylf8xFKMJE0qyZmUh0q/+iah9DoLS4OeT2aYKemfXsdRu8xdf+7K5lBwgWOoL8Xs8JLCqqR3x1YyIJ02filxlaSRkXoy3TNEkZp09F/UtVyHqIyg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-logout.php/saml-oklahoma"/> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-logout.php/saml-oklahoma"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-acs.php/saml-oklahoma" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml1-acs.php/saml-oklahoma" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-acs.php/saml-oklahoma" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://mycampusdirector2.com/auth/module.php/saml/sp/saml1-acs.php/saml-oklahoma/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Erik</md:GivenName> <md:SurName>Mudrak</md:SurName> <md:EmailAddress>mailto:erik@techniphi.com</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
På flat fil for SimpleSAMLphp. Bruk denne dersom du bruker SimpleSAMLphp på andre sida:
$metadata['https://mycampusdirector2.com/auth/module.php/saml/sp/metadata.php/saml-oklahoma'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-logout.php/saml-oklahoma', ], [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-logout.php/saml-oklahoma', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-acs.php/saml-oklahoma', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml1-acs.php/saml-oklahoma', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml2-acs.php/saml-oklahoma', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://mycampusdirector2.com/auth/module.php/saml/sp/saml1-acs.php/saml-oklahoma/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'erik@techniphi.com', 'contactType' => 'technical', 'givenName' => 'Erik', 'surName' => 'Mudrak', ], ], 'certData' => 'MIIEFzCCAv+gAwIBAgIJANy04ko70X+KMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYDVQQGEwJVUzEQMA4GA1UECAwHSW5kaWFuYTEPMA0GA1UEBwwGQ2FybWVsMRgwFgYDVQQKDA9UZWNobmlwaGksIEluYy4xETAPBgNVBAsMCFNvZnR3YXJlMR4wHAYDVQQDDBVteWNhbXB1c2RpcmVjdG9yMi5jb20xIjAgBgkqhkiG9w0BCQEWE2xlY2tvQHRlY2huaXBoaS5jb20wHhcNMTcwMzE3MDI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