This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:simplesamlphpsp [2017/04/23 12:47] procacci@tem-tsp.eu [Metadata] |
docpublic:systemes:simplesamlphpsp [2019/08/08 18:13] (current) procacci@tem-tsp.eu [config] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== simpleSAMLphp ===== | ||
+ | |||
===== reference ====== | ===== reference ====== | ||
Line 9: | Line 11: | ||
===== installation tgz ===== | ===== installation tgz ===== | ||
+ | |||
+ | |||
+ | * https:// | ||
+ | |||
Line 16: | Line 22: | ||
< | < | ||
+ | [root@mu www]# wget https:// | ||
+ | [root@mu www]# tar xvfz simplesamlphp-1.17.5.tar.gz | ||
+ | [root@mu www]# ln -s simplesamlphp-1.17.5 simplesaml | ||
+ | [root@mu www]# chown apache simplesaml -R | ||
- | [root@share www]# tar xvfz SimpleSAMLphp_1.14.11.tgz | + | </code> |
- | [root@share www]# ln -s simplesamlphp-1.14.11 simplesaml | + | |
- | [root@share www]# cp simplesamlphp.1.14-rpm/config/* ./ | + | |
- | cp : voulez-vous écraser « ./ | + | |
- | cp : voulez-vous écraser « ./ | + | |
- | [root@share www]# cp simplesamlphp.1.14-rpm/ | + | |
- | cp: la cible « ./ | + | |
- | [root@share www]# cp simplesamlphp.1.14-rpm/ | + | |
- | certs/ | + | |
- | [root@share www]# cp simplesamlphp.1.14-rpm/ | + | |
- | [root@share www]# cp simplesamlphp.1.14-rpm/ | + | |
- | cp : voulez-vous écraser « ./ | + | |
+ | ==== modules php ==== | ||
+ | |||
+ | modules php necessaires, | ||
+ | |||
+ | < | ||
+ | php-common-5.4.16-42.el7.x86_64 | ||
+ | php-cli-5.4.16-42.el7.x86_64 | ||
+ | php-xml-5.4.16-42.el7.x86_64 | ||
+ | php-ldap-5.4.16-42.el7.x86_64 | ||
+ | php-5.4.16-42.el7.x86_64 | ||
+ | php-pdo-5.4.16-42.el7.x86_64 | ||
+ | simplesamlphp-1.14.2-5.el6.noarch | ||
+ | php-mcrypt-5.4.16-7.el7.x86_64 | ||
+ | php-fpm-5.4.16-42.el7.x86_64 | ||
</ | </ | ||
+ | ===== config ===== | ||
+ | |||
+ | < | ||
+ | [root@mu simplesaml]# | ||
+ | [root@mu simplesaml]# | ||
+ | cp : voulez-vous écraser « config/ | ||
+ | </ | ||
+ | |||
+ | Modifier les valeurs suivantes dans config.php: | ||
+ | |||
+ | * ' | ||
+ | * secretsalt' | ||
+ | * ' | ||
+ | * ' | ||
+ | |||
+ | |||
+ | |||
+ | puis on passe au fichier qui décrit les différents SP, authsource.php, | ||
+ | < | ||
+ | cp -p config-templates/ | ||
+ | vim config/ | ||
+ | </ | ||
===== certificat ===== | ===== certificat ===== | ||
Line 44: | Line 79: | ||
</ | </ | ||
+ | ===== AuthSources ===== | ||
+ | |||
+ | definir l' | ||
+ | |||
+ | < | ||
+ | ' | ||
+ | ' | ||
+ | // certs JP | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | </ | ||
===== Metadata ===== | ===== Metadata ===== | ||
Line 56: | Line 103: | ||
[root@share simplesaml]# | [root@share simplesaml]# | ||
+ | </ | ||
+ | |||
+ | nomer la federation (fedelocal vs kalmar) | ||
+ | |||
+ | recuperer le certificat de la federation | ||
+ | |||
+ | < | ||
+ | [root@share cert]# wget https:// | ||
</ | </ | ||
Line 63: | Line 118: | ||
[root@share simplesaml]# | [root@share simplesaml]# | ||
SHA1 Fingerprint=AE: | SHA1 Fingerprint=AE: | ||
+ | </ | ||
+ | |||
+ | definition de l' | ||
+ | |||
+ | < | ||
[root@share simplesaml]# | [root@share simplesaml]# | ||
[root@share simplesaml]# | [root@share simplesaml]# | ||
+ | [root@share simplesaml]# | ||
+ | |||
</ | </ | ||
Line 122: | Line 184: | ||
il faut s' | il faut s' | ||
' | ' | ||
+ | |||
+ | < | ||
+ | [root@share simplesaml]# | ||
+ | [root@share simplesaml]# | ||
+ | </ | ||