SAML 2.0 IdP 元信息
这里是SimpleSAMLphp为你生成的元信息,你应该发送这个元信息文档给你的信任的合作伙伴以建立信任的联盟
你可以在 获取元信息XML
https://flu-staff.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://flu-staff.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>MIIDvTCCAqWgAwIBAgIUfR4uSJrbJpoG3UF0BLKGauXig2kwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MjEyMFoXDTMwMTIxNTE3MjEyMFowbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2koTknmkntWG0xh96XfVoSKrquMDNWSMgY97tk51ze1WMh3+KN/zqThgh4Y92N6s6zVTeHDFqfzFY0AJ0EtwhP9LT6qqtAbRKfJ50v3mSM3p284h21rAWSAkmehz7keQ53rkhm71YwyaHpDKXYHnqd5FWrM0YWCLCb6YR1jzNhYSZxQQH7sreX0SYdxrCe0yQ3e0tXQADOCYuMKtCQNeKLV3L/us8GtdqbN7GMMn5suIeWkgIg/8pGDp2C1pp5nKxp2zt8x+hUza4MUD5RhA+OWglSPtVESsunQAwAUAlIX1lozPwU91B26MAvNi9byzc2svn6kjYtxHaCQE4qqr/wIDAQABo1MwUTAdBgNVHQ4EFgQU2RE+ADkLGDAW7QFxs9QHjLOGB4gwHwYDVR0jBBgwFoAU2RE+ADkLGDAW7QFxs9QHjLOGB4gwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAMrWzLRNCkWXm71LY07eE17UlQnrB7LLRf/jsizxtyg1oHl4gvGYYeLVh98oTPTne4LuCEdAsXUNJyAzxJJJTSe3b4SdHQkdYBqR/yqMd21VGXyZbi08a6O8Ohn7yYWGSkbSYlUfVgOxKBnAzyPfo7qS4Bf9verFrOb3bEsD+pyYg4l47K1oK9bXcZk/nCm8JqN8IHoOexmLyVjLNAZkLyiNVcen1OK4YYoG/mPeQKot5iqceiM8MvoyF5cYHLFHtw8fL4K71iciZQWpKL4UsR8OQUb6Z+84FOmtB93/IU4l+fFtcdDM7d4q/z9J8NTRppI1XMUizt1fsQ7TIwwODpw==</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>MIIDvTCCAqWgAwIBAgIUfR4uSJrbJpoG3UF0BLKGauXig2kwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MjEyMFoXDTMwMTIxNTE3MjEyMFowbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2koTknmkntWG0xh96XfVoSKrquMDNWSMgY97tk51ze1WMh3+KN/zqThgh4Y92N6s6zVTeHDFqfzFY0AJ0EtwhP9LT6qqtAbRKfJ50v3mSM3p284h21rAWSAkmehz7keQ53rkhm71YwyaHpDKXYHnqd5FWrM0YWCLCb6YR1jzNhYSZxQQH7sreX0SYdxrCe0yQ3e0tXQADOCYuMKtCQNeKLV3L/us8GtdqbN7GMMn5suIeWkgIg/8pGDp2C1pp5nKxp2zt8x+hUza4MUD5RhA+OWglSPtVESsunQAwAUAlIX1lozPwU91B26MAvNi9byzc2svn6kjYtxHaCQE4qqr/wIDAQABo1MwUTAdBgNVHQ4EFgQU2RE+ADkLGDAW7QFxs9QHjLOGB4gwHwYDVR0jBBgwFoAU2RE+ADkLGDAW7QFxs9QHjLOGB4gwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAMrWzLRNCkWXm71LY07eE17UlQnrB7LLRf/jsizxtyg1oHl4gvGYYeLVh98oTPTne4LuCEdAsXUNJyAzxJJJTSe3b4SdHQkdYBqR/yqMd21VGXyZbi08a6O8Ohn7yYWGSkbSYlUfVgOxKBnAzyPfo7qS4Bf9verFrOb3bEsD+pyYg4l47K1oK9bXcZk/nCm8JqN8IHoOexmLyVjLNAZkLyiNVcen1OK4YYoG/mPeQKot5iqceiM8MvoyF5cYHLFHtw8fL4K71iciZQWpKL4UsR8OQUb6Z+84FOmtB93/IU4l+fFtcdDM7d4q/z9J8NTRppI1XMUizt1fsQ7TIwwODpw==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://flu-staff.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://flu-staff.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://flu-staff.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php'] = array ( 'metadata-set' => 'saml20-idp-remote', 'entityid' => 'https://flu-staff.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://flu-staff.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://flu-staff.idp-proxy.finki.ukim.mk/saml2/idp/SingleLogoutService.php', ), ), 'certData' => 'MIIDvTCCAqWgAwIBAgIUfR4uSJrbJpoG3UF0BLKGauXig2kwDQYJKoZIhvcNAQELBQAwbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MjEyMFoXDTMwMTIxNTE3MjEyMFowbjELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEqMCgGA1UEAwwhZmx1LXN0YWZmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2koTknmkntWG0xh96XfVoSKrquMDNWSMgY97tk51ze1WMh3+KN/zqThgh4Y92N6s6zVTeHDFqfzFY0AJ0EtwhP9LT6qqtAbRKfJ50v3mSM3p284h21rAWSAkmehz7keQ53rkhm71YwyaHpDKXYHnqd5FWrM0YWCLCb6YR1jzNhYSZxQQH7sreX0SYdxrCe0yQ3e0tXQADOCYuMKtCQNeKLV3L/us8GtdqbN7GMMn5suIeWkgIg/8pGDp2C1pp5nKxp2zt8x+hUza4MUD5RhA+OWglSPtVESsunQAwAUAlIX1lozPwU91B26MAvNi9byzc2svn6kjYtxHaCQE4qqr/wIDAQABo1MwUTAdBgNVHQ4EFgQU2RE+ADkLGDAW7QFxs9QHjLOGB4gwHwYDVR0jBBgwFoAU2RE+ADkLGDAW7QFxs9QHjLOGB4gwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAMrWzLRNCkWXm71LY07eE17UlQnrB7LLRf/jsizxtyg1oHl4gvGYYeLVh98oTPTne4LuCEdAsXUNJyAzxJJJTSe3b4SdHQkdYBqR/yqMd21VGXyZbi08a6O8Ohn7yYWGSkbSYlUfVgOxKBnAzyPfo7qS4Bf9verFrOb3bEsD+pyYg4l47K1oK9bXcZk/nCm8JqN8IHoOexmLyVjLNAZkLyiNVcen1OK4YYoG/mPeQKot5iqceiM8MvoyF5cYHLFHtw8fL4K71iciZQWpKL4UsR8OQUb6Z+84FOmtB93/IU4l+fFtcdDM7d4q/z9J8NTRppI1XMUizt1fsQ7TIwwODpw==', '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编码的文件