This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:shibboleth:idpv3xc8 [2020/06/04 20:07] procacci@tem-tsp.eu [acces tomcat] |
docpublic:systemes:shibboleth:idpv3xc8 [2020/07/04 15:15] (current) procacci@tem-tsp.eu [proxy et TLS via apache] |
||
|---|---|---|---|
| Line 197: | Line 197: | ||
| < | < | ||
| - | [root@idpx opt]# firewall-cmd --permanent --add-rich-rule 'rule family=" | + | [root@idpx opt]# firewall-cmd --permanent --add-rich-rule 'rule family=" |
| success | success | ||
| [root@idpx opt]# firewall-cmd --reload | [root@idpx opt]# firewall-cmd --reload | ||
| success | success | ||
| + | |||
| + | [root@idpx opt]# firewall-cmd --permanent --add-rich-rule 'rule family=" | ||
| + | success | ||
| + | [root@idpx opt]# firewall-cmd --permanent --add-rich-rule 'rule family=" | ||
| + | success | ||
| + | [root@idpx opt]# firewall-cmd --reload | ||
| + | success | ||
| + | |||
| </ | </ | ||
| ou plus generalement | ou plus generalement | ||
| Line 211: | Line 219: | ||
| ==== acces tomcat ==== | ==== acces tomcat ==== | ||
| - | le serveur est maintenant | + | le serveur est maintenant |
| - | http://idp3.tem-tsp.eu: | + | http://idpx.tem-tsp.eu: |
| - | ==== proxy-ajp et TLS via apache ===== | + | sauf si l' |
| - | mise en place d'un proxy ajp pour une gestion de TLS et ports par defaut (80/443) par apache | + | < |
| + | [root@idpx ~]# vim / | ||
| + | |||
| + | <Context antiResourceLocking=" | ||
| + | <Valve className=" | ||
| + | | ||
| + | <Manager sessionAttributeValueClassNameFilter=" | ||
| + | </ | ||
| + | </ | ||
| + | ==== proxy et TLS via apache ===== | ||
| + | |||
| + | https:// | ||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | |||
| + | mise en place d'un proxy pour une gestion de TLS et ports par defaut (80/443) par apache | ||
| il faut installer le mod_ssl d' | il faut installer le mod_ssl d' | ||
| < | < | ||
| - | [root@idp34 tomcat]# yum install mod_ssl | + | [root@idpx opt]# yum install |
| - | Installé : | + | |
| - | | + | Total download size: 2.0 M |
| + | Is this ok [y/N]: y | ||
| + | |||
| </ | </ | ||
| Line 229: | Line 255: | ||
| < | < | ||
| - | [root@idp34 certs]#grep ^SSL / | + | [root@idpx certs]#grep ^SSL / |
| SSLCertificateFile / | SSLCertificateFile / | ||
| SSLCertificateKeyFile / | SSLCertificateKeyFile / | ||
| Line 238: | Line 264: | ||
| < | < | ||
| - | [root@idp3' | + | [root@idpx ~]# cat / |
| ProxyPass /idp/ ajp:// | ProxyPass /idp/ ajp:// | ||
| ProxyPass /manager/ ajp:// | ProxyPass /manager/ ajp:// | ||
| + | </ | ||
| + | |||
| + | et l' | ||
| + | |||
| + | < | ||
| + | [root@idpx opt]# vim / | ||
| + | <!-- Define an AJP 1.3 Connector on port 8009 --> | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | sans l' | ||
| + | |||
| + | lancement httpd et verification de la presence du module AJP | ||
| + | |||
| + | < | ||
| + | [root@idpx opt]# systemctl start httpd.service | ||
| + | [root@idpx opt]# httpd -M | grep ajp | ||
| + | |||
| + | | ||
| + | |||
| </ | </ | ||
| acces sans le port 8080 : | acces sans le port 8080 : | ||
| - | http://idp3.tem-tsp.eu/ | + | http://idpx.imtbstsp.eu/ |
| puis en https via le proxy-ajp sans precision du port 443 | puis en https via le proxy-ajp sans precision du port 443 | ||
| - | https://idp3.tem-tsp.eu/ | + | https://idpx.imtbstsp.eu/ |