This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:shibboleth:spv2 [2011/04/25 10:40] PROCACCIA |
docpublic:systemes:shibboleth:spv2 [2014/04/28 20:48] (current) procacci@tem-tsp.eu [yum install] |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| ===== Repo opensuse ===== | ===== Repo opensuse ===== | ||
| + | opensuse maintient des packages RPM pour plusieurs distribution RPM dont centos ! | ||
| + | |||
| + | * centos5 | ||
| < | < | ||
| # wget http:// | # wget http:// | ||
| </ | </ | ||
| + | * Centos6 | ||
| + | < | ||
| + | # wget http:// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | [root@idp-imt1-bc ~]# cd / | ||
| + | [root@idp-imt1-bc yum.repos.d]# | ||
| + | </ | ||
| ===== yum install ===== | ===== yum install ===== | ||
| Line 18: | Line 34: | ||
| # yum install shibboleth | # yum install shibboleth | ||
| - | Dependencies Resolved | + | ================================================================================================= |
| - | + | | |
| - | ====================================================================================================================== | + | ================================================================================================= |
| - | | + | |
| - | ====================================================================================================================== | + | |
| Installing: | Installing: | ||
| - | | + | |
| Installing for dependencies: | Installing for dependencies: | ||
| - | libsaml7 | + | libcurl-openssl |
| - | libxmltooling5 | + | |
| - | log4shib | + | libsaml7 |
| - | | + | |
| - | | + | libxml-security-c16 |
| - | | + | |
| + | | ||
| + | | ||
| + | | ||
| Transaction Summary | Transaction Summary | ||
| - | ====================================================================================================================== | + | ================================================================================================= |
| - | Install | + | Install |
| - | Upgrade | + | |
| Total download size: 4.3 M | Total download size: 4.3 M | ||
| - | Is this ok [y/N]: y | + | Installed size: 19 M |
| + | </ | ||
| + | |||
| + | < | ||
| + | Installed: | ||
| + | shibboleth.i686 0: | ||
| </ | </ | ||
| Line 51: | Line 72: | ||
| # chkconfig --list | grep shibd | # chkconfig --list | grep shibd | ||
| shibd | shibd | ||
| + | </ | ||
| + | |||
| + | et manuel la premiere fois: | ||
| + | |||
| + | < | ||
| + | # / | ||
| + | </ | ||
| + | |||
| + | Ainsi que httpd restart / reload pour charger le mod_shib contenu dans / | ||
| + | |||
| + | < | ||
| + | # / | ||
| </ | </ | ||
| Line 70: | Line 103: | ||
| --- | --- | ||
| > UseCanonicalName Off | > UseCanonicalName Off | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== test Status ==== | ||
| + | |||
| + | Parametrer l'ACL dans / | ||
| + | |||
| + | < | ||
| + | <!-- Status reporting service. --> | ||
| + | <Handler type=" | ||
| + | </ | ||
| + | |||
| + | Acces: | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | les metadata directement: | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== Parametrage shibboleth2.xml ===== | ||
| + | |||
| + | le fichier / | ||
| + | |||
| + | ==== SSO ==== | ||
| + | |||
| + | Attention, | ||
| + | https:// | ||
| + | |||
| + | < | ||
| + | < | ||
| + | | ||
| + | ... | ||
| + | < | ||
| + | <SSO | ||
| + | | ||
| + | SAML2 SAML1 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== error messages ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | metadata=" | ||
| + | access=" | ||
| + | ssl=" | ||
| + | localLogout=" | ||
| + | globalLogout=" | ||
| + | logoLocation="/ | ||
| + | styleSheet="/ | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ==== Metadata ==== | ||
| + | |||
| + | < | ||
| + | <!-- Chains together all your metadata sources. --> | ||
| + | < | ||
| + | |||
| + | |||
| + | < | ||
| + | Federation IT /> | ||
| + | --> | ||
| + | |||
| + | < | ||
| + | backingFilePath="/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | <!-- Meta-donné de la fération de test Ãucation-Recherche --> | ||
| + | < | ||
| + | backingFilePath="/ | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== Multiples vhost sur un meme SP ===== | ||
| + | |||
| + | ==== references ==== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | générer la paire de clé pour l' | ||
| + | |||
| + | < | ||
| + | [root@colmut shibboleth]# | ||
| + | Generating a 2048 bit RSA private key | ||
| + | ......+++ | ||
| + | .....................................................................................+++ | ||
| + | writing new private key to ' | ||
| + | ----- | ||
| + | |||
| + | [root@colmut shibboleth]# | ||
| + | [root@colmut shibboleth]# | ||
| + | |||
| + | [root@colmut shibboleth]# | ||
| + | </ | ||
| + | |||
| + | déclaration de l' | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | < | ||
| + | REMOTE_USER=" | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | |||
| + | </ | ||
| </ | </ | ||