SAML 2.0 IdP 元信息
这里是SimpleSAMLphp为你生成的元信息,你应该发送这个元信息文档给你的信任的合作伙伴以建立信任的联盟
你可以在 获取元信息XML
https://ffosz-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://ffosz-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>MIIDrzCCApegAwIBAgIUBM3JbOLuLW8/NwyGtXewPxyFHf4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmZvc3otc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDAyMjEzOTMwWhcNMzAwMzMxMjEzOTMwWjBnMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSwwKgYDVQQDDCNmZm9zei1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKzswtIUHaSFe30bcfnPp7kr0XVcQJBBfjKxabNQU74+ZIq/yuw2HjgFhF42zKlMqwX3I6YT2g4mMceyvCuKzabLa0VfpPVjmb6koh/lyZef4QHFGcKZoelf/HnHiDNVhqb61hdb4Rb3BIBT/eT9yIK/wR2N99I0nrrIhEgCdxbEIiWJwxj9etY9ulQucT79vP1g+fA5cd84mJiwUbczxVMnq7j9szfDfQ4svt6l8xtZySV+mvravgRlZhU+bF4PlcDWg4jKzQ864Oot5p1CwlkYhYd5h1fUbg/1xVHeNULbzIYRPHbaYUGiJ2j/Ut+EzzMcm1NnkmWEmLXvZqnarY0CAwEAAaNTMFEwHQYDVR0OBBYEFM9S/qL7qYuxmVvRgKYCX/MqCCrjMB8GA1UdIwQYMBaAFM9S/qL7qYuxmVvRgKYCX/MqCCrjMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADDSx9nZtVwaLQcLJKpBxawO05YZdqzAhUgIHBNh87PKirW2G3zWubhbveAaMfGmUyIevfMyarJ6oN7Kii2BsMtSKuzoA0PxIXtZZQIL5HcI719e82DWWDm7gTqKItVcwSzJtoeliOApez5OP09g+CqHmdAk5V4R9yn1W0pm3he31bDaJsZeWhaL5t1gubefuz+zGkCG+XgIVdRSLVsSfPGzK79soy1vGh5GPzSauQ+vRPU2pYtrjkSkSGWvEofPK515C4N2ENoPQyVlXOFiTP0TrOgxJ98WOKuTkgD6gLQHpDC2vLuQBdY5WlnFp8JMy3GquQ/4v8Uf9MqLNFVcfRo=</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>MIIDrzCCApegAwIBAgIUBM3JbOLuLW8/NwyGtXewPxyFHf4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmZvc3otc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDAyMjEzOTMwWhcNMzAwMzMxMjEzOTMwWjBnMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSwwKgYDVQQDDCNmZm9zei1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKzswtIUHaSFe30bcfnPp7kr0XVcQJBBfjKxabNQU74+ZIq/yuw2HjgFhF42zKlMqwX3I6YT2g4mMceyvCuKzabLa0VfpPVjmb6koh/lyZef4QHFGcKZoelf/HnHiDNVhqb61hdb4Rb3BIBT/eT9yIK/wR2N99I0nrrIhEgCdxbEIiWJwxj9etY9ulQucT79vP1g+fA5cd84mJiwUbczxVMnq7j9szfDfQ4svt6l8xtZySV+mvravgRlZhU+bF4PlcDWg4jKzQ864Oot5p1CwlkYhYd5h1fUbg/1xVHeNULbzIYRPHbaYUGiJ2j/Ut+EzzMcm1NnkmWEmLXvZqnarY0CAwEAAaNTMFEwHQYDVR0OBBYEFM9S/qL7qYuxmVvRgKYCX/MqCCrjMB8GA1UdIwQYMBaAFM9S/qL7qYuxmVvRgKYCX/MqCCrjMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADDSx9nZtVwaLQcLJKpBxawO05YZdqzAhUgIHBNh87PKirW2G3zWubhbveAaMfGmUyIevfMyarJ6oN7Kii2BsMtSKuzoA0PxIXtZZQIL5HcI719e82DWWDm7gTqKItVcwSzJtoeliOApez5OP09g+CqHmdAk5V4R9yn1W0pm3he31bDaJsZeWhaL5t1gubefuz+zGkCG+XgIVdRSLVsSfPGzK79soy1vGh5GPzSauQ+vRPU2pYtrjkSkSGWvEofPK515C4N2ENoPQyVlXOFiTP0TrOgxJ98WOKuTkgD6gLQHpDC2vLuQBdY5WlnFp8JMy3GquQ/4v8Uf9MqLNFVcfRo=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://ffosz-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://ffosz-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://ffosz-staff.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php'] = array ( 'metadata-set' => 'saml20-idp-remote', 'entityid' => 'https://ffosz-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://ffosz-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://ffosz-staff.idp-proxy.finki.ukim.mk/saml2/idp/SingleLogoutService.php', ), ), 'certData' => 'MIIDrzCCApegAwIBAgIUBM3JbOLuLW8/NwyGtXewPxyFHf4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEsMCoGA1UEAwwjZmZvc3otc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDAyMjEzOTMwWhcNMzAwMzMxMjEzOTMwWjBnMQswCQYDVQQGEwJNSzEKMAgGA1UECAwBIDEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSwwKgYDVQQDDCNmZm9zei1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKzswtIUHaSFe30bcfnPp7kr0XVcQJBBfjKxabNQU74+ZIq/yuw2HjgFhF42zKlMqwX3I6YT2g4mMceyvCuKzabLa0VfpPVjmb6koh/lyZef4QHFGcKZoelf/HnHiDNVhqb61hdb4Rb3BIBT/eT9yIK/wR2N99I0nrrIhEgCdxbEIiWJwxj9etY9ulQucT79vP1g+fA5cd84mJiwUbczxVMnq7j9szfDfQ4svt6l8xtZySV+mvravgRlZhU+bF4PlcDWg4jKzQ864Oot5p1CwlkYhYd5h1fUbg/1xVHeNULbzIYRPHbaYUGiJ2j/Ut+EzzMcm1NnkmWEmLXvZqnarY0CAwEAAaNTMFEwHQYDVR0OBBYEFM9S/qL7qYuxmVvRgKYCX/MqCCrjMB8GA1UdIwQYMBaAFM9S/qL7qYuxmVvRgKYCX/MqCCrjMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADDSx9nZtVwaLQcLJKpBxawO05YZdqzAhUgIHBNh87PKirW2G3zWubhbveAaMfGmUyIevfMyarJ6oN7Kii2BsMtSKuzoA0PxIXtZZQIL5HcI719e82DWWDm7gTqKItVcwSzJtoeliOApez5OP09g+CqHmdAk5V4R9yn1W0pm3he31bDaJsZeWhaL5t1gubefuz+zGkCG+XgIVdRSLVsSfPGzK79soy1vGh5GPzSauQ+vRPU2pYtrjkSkSGWvEofPK515C4N2ENoPQyVlXOFiTP0TrOgxJ98WOKuTkgD6gLQHpDC2vLuQBdY5WlnFp8JMy3GquQ/4v8Uf9MqLNFVcfRo=', '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编码的文件