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/24 13:18] procacci@tem-tsp.eu [reference] |
docpublic:systemes:simplesamlphpsp [2019/08/08 18:13] (current) procacci@tem-tsp.eu [config] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== installation tgz ===== | ===== installation tgz ===== | ||
+ | |||
+ | |||
+ | * https:// | ||
+ | |||
Line 18: | Line 22: | ||
< | < | ||
- | + | [root@mu www]# wget https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.17.5/ | |
- | [root@share www]# tar xvfz SimpleSAMLphp_1.14.11.tgz | + | [root@mu www]# tar xvfz simplesamlphp-1.17.5.tar.gz |
- | [root@share www]# ln -s simplesamlphp-1.14.11 simplesaml | + | [root@mu www]# ln -s simplesamlphp-1.17.5 simplesaml |
- | [root@share www]# cp simplesamlphp.1.14-rpm/config/* ./simplesaml/config | + | [root@mu www]# chown apache |
- | cp : voulez-vous écraser « ./simplesaml/config/authsources.php » ? y | + | |
- | cp : voulez-vous écraser « ./simplesaml/ | + | |
- | [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 « ./ | + | |
</ | </ | ||
Line 50: | Line 45: | ||
</ | </ | ||
+ | ===== 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 62: | Line 79: | ||
</ | </ | ||
+ | ===== AuthSources ===== | ||
+ | |||
+ | definir l' | ||
+ | |||
+ | < | ||
+ | ' | ||
+ | ' | ||
+ | // certs JP | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | </ | ||
===== Metadata ===== | ===== Metadata ===== | ||
Line 74: | 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 81: | 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 140: | Line 184: | ||
il faut s' | il faut s' | ||
' | ' | ||
+ | |||
+ | < | ||
+ | [root@share simplesaml]# | ||
+ | [root@share simplesaml]# | ||
+ | </ | ||