SAML 2.0 IdP 元信息
这里是SimpleSAMLphp为你生成的元信息,你应该发送这个元信息文档给你的信任的合作伙伴以建立信任的联盟
你可以在 获取元信息XML
https://ff.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://ff.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>MIIDrzCCApegAwIBAgIUa5STsa4IGE+CNNJwJ3Q7hLHTJK4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEjMCEGA1UEAwwaZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MTcwNDAzWhcNMzAwNDAyMTcwNDAzWjBnMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSMwIQYDVQQDDBpmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANeSNRyRc4eSzX3ff6ARZy9y01iXgQuEFM/p8VRuq/DrcjZ6TTcVIqvJpzR1BAqSQ2LynxlIiibUUK+3dIXBZSu2NryXceypLeiEajYUTfjuyL5xrsYLqJMdPPMRbYu+4ZGrRiBy9njDnwVO6djMPE7CyWlJajf+MS6hq/iY6VrzFAWwdgXFsE/xc4/61bwckQhcrRdkmhxgcou3zccQN3sbykqebS7DBMpRJdhAjuEcm2gNaClkEof2t5CR70x3Eboo0R1Z9wIoLz0bhKpX0VuB+2BcXRgtLH2ANHjCNQaAZW1KBfY+31c6MYO2+/tDC9XmHUytXsZAErJ5Fkx8+b8CAwEAAaNTMFEwHQYDVR0OBBYEFE34FQHOWbuwi+71392B+xgXkySuMB8GA1UdIwQYMBaAFE34FQHOWbuwi+71392B+xgXkySuMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAL5dZyhWlB2PJ+EzlPX6/8cvuAratVXr+G00eTh4iS073JhJ10+t+1lZLWBiRaVb8op9XUfLS5eh6AcYBOXIjcI3HnB/S2vTjtvlpkHacFGgBqzcMJBWpKD7dAmzSnvOdYwALJjDotUzp06p0EpOd0NRr6gYJFWroa75mOaqHxr67RUVRHNygPhHzhhBcGuaJ7MshuRw3lzmKvdpZBrtxvDJxrCzlwa/Ic1HVBJEOb9yvmD0XJGGx7Q1eSNJctCYHm9j+NvMEH49wap/yEd9CSShv+lac/+7a82Ycm7bb4ehFeIHSL6dd9NDe9AxzZJzfIehqihnsE4O+6smgOx5py8=</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>MIIDrzCCApegAwIBAgIUa5STsa4IGE+CNNJwJ3Q7hLHTJK4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEjMCEGA1UEAwwaZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MTcwNDAzWhcNMzAwNDAyMTcwNDAzWjBnMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSMwIQYDVQQDDBpmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANeSNRyRc4eSzX3ff6ARZy9y01iXgQuEFM/p8VRuq/DrcjZ6TTcVIqvJpzR1BAqSQ2LynxlIiibUUK+3dIXBZSu2NryXceypLeiEajYUTfjuyL5xrsYLqJMdPPMRbYu+4ZGrRiBy9njDnwVO6djMPE7CyWlJajf+MS6hq/iY6VrzFAWwdgXFsE/xc4/61bwckQhcrRdkmhxgcou3zccQN3sbykqebS7DBMpRJdhAjuEcm2gNaClkEof2t5CR70x3Eboo0R1Z9wIoLz0bhKpX0VuB+2BcXRgtLH2ANHjCNQaAZW1KBfY+31c6MYO2+/tDC9XmHUytXsZAErJ5Fkx8+b8CAwEAAaNTMFEwHQYDVR0OBBYEFE34FQHOWbuwi+71392B+xgXkySuMB8GA1UdIwQYMBaAFE34FQHOWbuwi+71392B+xgXkySuMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAL5dZyhWlB2PJ+EzlPX6/8cvuAratVXr+G00eTh4iS073JhJ10+t+1lZLWBiRaVb8op9XUfLS5eh6AcYBOXIjcI3HnB/S2vTjtvlpkHacFGgBqzcMJBWpKD7dAmzSnvOdYwALJjDotUzp06p0EpOd0NRr6gYJFWroa75mOaqHxr67RUVRHNygPhHzhhBcGuaJ7MshuRw3lzmKvdpZBrtxvDJxrCzlwa/Ic1HVBJEOb9yvmD0XJGGx7Q1eSNJctCYHm9j+NvMEH49wap/yEd9CSShv+lac/+7a82Ycm7bb4ehFeIHSL6dd9NDe9AxzZJzfIehqihnsE4O+6smgOx5py8=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://ff.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://ff.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://ff.idp-proxy.finki.ukim.mk/saml2/idp/metadata.php'] = array ( 'metadata-set' => 'saml20-idp-remote', 'entityid' => 'https://ff.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://ff.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://ff.idp-proxy.finki.ukim.mk/saml2/idp/SingleLogoutService.php', ), ), 'certData' => 'MIIDrzCCApegAwIBAgIUa5STsa4IGE+CNNJwJ3Q7hLHTJK4wDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEjMCEGA1UEAwwaZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA0MTcwNDAzWhcNMzAwNDAyMTcwNDAzWjBnMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSMwIQYDVQQDDBpmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANeSNRyRc4eSzX3ff6ARZy9y01iXgQuEFM/p8VRuq/DrcjZ6TTcVIqvJpzR1BAqSQ2LynxlIiibUUK+3dIXBZSu2NryXceypLeiEajYUTfjuyL5xrsYLqJMdPPMRbYu+4ZGrRiBy9njDnwVO6djMPE7CyWlJajf+MS6hq/iY6VrzFAWwdgXFsE/xc4/61bwckQhcrRdkmhxgcou3zccQN3sbykqebS7DBMpRJdhAjuEcm2gNaClkEof2t5CR70x3Eboo0R1Z9wIoLz0bhKpX0VuB+2BcXRgtLH2ANHjCNQaAZW1KBfY+31c6MYO2+/tDC9XmHUytXsZAErJ5Fkx8+b8CAwEAAaNTMFEwHQYDVR0OBBYEFE34FQHOWbuwi+71392B+xgXkySuMB8GA1UdIwQYMBaAFE34FQHOWbuwi+71392B+xgXkySuMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAL5dZyhWlB2PJ+EzlPX6/8cvuAratVXr+G00eTh4iS073JhJ10+t+1lZLWBiRaVb8op9XUfLS5eh6AcYBOXIjcI3HnB/S2vTjtvlpkHacFGgBqzcMJBWpKD7dAmzSnvOdYwALJjDotUzp06p0EpOd0NRr6gYJFWroa75mOaqHxr67RUVRHNygPhHzhhBcGuaJ7MshuRw3lzmKvdpZBrtxvDJxrCzlwa/Ic1HVBJEOb9yvmD0XJGGx7Q1eSNJctCYHm9j+NvMEH49wap/yEd9CSShv+lac/+7a82Ycm7bb4ehFeIHSL6dd9NDe9AxzZJzfIehqihnsE4O+6smgOx5py8=', '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编码的文件