SAML 2.0 IdP 元信息
这里是SimpleSAMLphp为你生成的元信息,你应该发送这个元信息文档给你的信任的合作伙伴以建立信任的联盟
你可以在 获取元信息XML
https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php
元信息
在SAML 2.0 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://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php"> <md:IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIDuTCCAqGgAwIBAgIUO6TrKhmKU5d6dANwc71FI/diF8AwDQYJKoZIhvcNAQELBQAwbDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEoMCYGA1UEAwwfc3RvbWZhay5pZHAtcHJveHkuZmlua2kudWtpbS5tazAeFw0yMDA0MDUxNzA2MjhaFw0zMDA0MDMxNzA2MjhaMGwxCzAJBgNVBAYTAk1LMRMwEQYDVQQIDApTb21lLVN0YXRlMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xKDAmBgNVBAMMH3N0b21mYWsuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbs6cHn3usq7rHqDItMpHB8eLWppiYMXLc7ILHOX1AIbfJgUA8HmSf3JngzT+dRuYvI/H5Zh+u02b2b6eTXQHW6AfwhNe0wrUMAY/46t4+YZaDlAw0UXPbg2pVKD5XCLAgGaMBuQ/vaTbuDyfC0ITSfkhWIMEaPzcgC5SpC5b78B3CIbDy82VIzwMX11ds3svIseqHtrAr00PXiPy1AyybIOH0AadHULhvXbEJ/eY0B9Kmbs15+LM4j4ivYdQG3n3gM2KttLviPPHhkRoqKx6O8DSnSF4DmJE1CLKaAi5wrIyfoLo9Kpif+MqUWaJpB0ovsWV1iiQdwe0ZlAX5vWjbAgMBAAGjUzBRMB0GA1UdDgQWBBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAfBgNVHSMEGDAWgBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBQrWiWQThXnkEzxRlBaJhJ5PyJSQzn79xhE34EcMLncvDL5DWS0d5C6FGgqMr28atrcTmr0m9jxzCpsn9wW3WYkM6t7v99jA/e0fL5sWIZTryjj4sIOWEg4r48mST8JJsCznj4jyL4RFYQr7iCpoODpJeuDtqAihCvEl23RuFLnBTmM88o7VGDLh2+tYQZaelG2TDXZ6pFb9ySnYXBDgMMiN5Rl+vVPaO14tSmryfeXG2ykKXBxQ0yaHvl16JDAssLc81PbwMRVugo+tzulW0BmN+ex8BzLkoXwkx4w9v1QoQqrsH+RWFQg09mZEBCDZCJhzQltqTr07AfO+wUMMUq</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>MIIDuTCCAqGgAwIBAgIUO6TrKhmKU5d6dANwc71FI/diF8AwDQYJKoZIhvcNAQELBQAwbDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEoMCYGA1UEAwwfc3RvbWZhay5pZHAtcHJveHkuZmlua2kudWtpbS5tazAeFw0yMDA0MDUxNzA2MjhaFw0zMDA0MDMxNzA2MjhaMGwxCzAJBgNVBAYTAk1LMRMwEQYDVQQIDApTb21lLVN0YXRlMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xKDAmBgNVBAMMH3N0b21mYWsuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbs6cHn3usq7rHqDItMpHB8eLWppiYMXLc7ILHOX1AIbfJgUA8HmSf3JngzT+dRuYvI/H5Zh+u02b2b6eTXQHW6AfwhNe0wrUMAY/46t4+YZaDlAw0UXPbg2pVKD5XCLAgGaMBuQ/vaTbuDyfC0ITSfkhWIMEaPzcgC5SpC5b78B3CIbDy82VIzwMX11ds3svIseqHtrAr00PXiPy1AyybIOH0AadHULhvXbEJ/eY0B9Kmbs15+LM4j4ivYdQG3n3gM2KttLviPPHhkRoqKx6O8DSnSF4DmJE1CLKaAi5wrIyfoLo9Kpif+MqUWaJpB0ovsWV1iiQdwe0ZlAX5vWjbAgMBAAGjUzBRMB0GA1UdDgQWBBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAfBgNVHSMEGDAWgBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBQrWiWQThXnkEzxRlBaJhJ5PyJSQzn79xhE34EcMLncvDL5DWS0d5C6FGgqMr28atrcTmr0m9jxzCpsn9wW3WYkM6t7v99jA/e0fL5sWIZTryjj4sIOWEg4r48mST8JJsCznj4jyL4RFYQr7iCpoODpJeuDtqAihCvEl23RuFLnBTmM88o7VGDLh2+tYQZaelG2TDXZ6pFb9ySnYXBDgMMiN5Rl+vVPaO14tSmryfeXG2ykKXBxQ0yaHvl16JDAssLc81PbwMRVugo+tzulW0BmN+ex8BzLkoXwkx4w9v1QoQqrsH+RWFQg09mZEBCDZCJhzQltqTr07AfO+wUMMUq</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/SingleLogoutService.php"/> <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat> <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/SSOService.php"/> </md:IDPSSODescriptor> <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,那么你应该使用SimpleSAMLphp扁平的文件格式
$metadata['https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php'] = array ( 'metadata-set' => 'saml20-idp-remote', 'entityid' => 'https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php', 'SingleSignOnService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/SSOService.php', ), ), 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://stomfak.idp-proxy.finki.ukim.mk/saml2/idp/SingleLogoutService.php', ), ), 'certData' => 'MIIDuTCCAqGgAwIBAgIUO6TrKhmKU5d6dANwc71FI/diF8AwDQYJKoZIhvcNAQELBQAwbDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEoMCYGA1UEAwwfc3RvbWZhay5pZHAtcHJveHkuZmlua2kudWtpbS5tazAeFw0yMDA0MDUxNzA2MjhaFw0zMDA0MDMxNzA2MjhaMGwxCzAJBgNVBAYTAk1LMRMwEQYDVQQIDApTb21lLVN0YXRlMQ8wDQYDVQQHDAZTa29wamUxDTALBgNVBAoMBFVLSU0xKDAmBgNVBAMMH3N0b21mYWsuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbs6cHn3usq7rHqDItMpHB8eLWppiYMXLc7ILHOX1AIbfJgUA8HmSf3JngzT+dRuYvI/H5Zh+u02b2b6eTXQHW6AfwhNe0wrUMAY/46t4+YZaDlAw0UXPbg2pVKD5XCLAgGaMBuQ/vaTbuDyfC0ITSfkhWIMEaPzcgC5SpC5b78B3CIbDy82VIzwMX11ds3svIseqHtrAr00PXiPy1AyybIOH0AadHULhvXbEJ/eY0B9Kmbs15+LM4j4ivYdQG3n3gM2KttLviPPHhkRoqKx6O8DSnSF4DmJE1CLKaAi5wrIyfoLo9Kpif+MqUWaJpB0ovsWV1iiQdwe0ZlAX5vWjbAgMBAAGjUzBRMB0GA1UdDgQWBBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAfBgNVHSMEGDAWgBRrZFbcnjpuqTf9NX0nPKgtXBMTgjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBQrWiWQThXnkEzxRlBaJhJ5PyJSQzn79xhE34EcMLncvDL5DWS0d5C6FGgqMr28atrcTmr0m9jxzCpsn9wW3WYkM6t7v99jA/e0fL5sWIZTryjj4sIOWEg4r48mST8JJsCznj4jyL4RFYQr7iCpoODpJeuDtqAihCvEl23RuFLnBTmM88o7VGDLh2+tYQZaelG2TDXZ6pFb9ySnYXBDgMMiN5Rl+vVPaO14tSmryfeXG2ykKXBxQ0yaHvl16JDAssLc81PbwMRVugo+tzulW0BmN+ex8BzLkoXwkx4w9v1QoQqrsH+RWFQg09mZEBCDZCJhzQltqTr07AfO+wUMMUq', 'NameIDFormat' => array ( 0 => 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'fcc@finki.ukim.mk', 'contactType' => 'technical', 'givenName' => 'FINKI', 'surName' => 'FCC', ), ), );
证书
下载X509证书作为PEM编码的文件