doc:httpd
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| doc:httpd [2015/05/16 11:32] – [TLS] Configuration pour Apache 2.4 david.sinquin | doc:httpd [2016/10/14 17:09] (Version actuelle) – [Exemple : Apache 2.4 sur Debian Jessie] david.sinquin | ||
|---|---|---|---|
| Ligne 22: | Ligne 22: | ||
| ===== TLS ===== | ===== TLS ===== | ||
| - | Pour la configuration | + | D'une manière générale, |
| - | Pour éviter de les répéter dans chaque fichier de site, les paramètres généraux comme **SSLProtocol**, | + | ==== Exemple : Apache 2.4 sur Debian Jessie ==== |
| - | La configuration ci-dessous s' | + | Dans la configuration du vhost : |
| - | + | <file apache / | |
| - | On mettra donc, par exemple, dans la configuration du VHOST : | + | |
| - | <code> | + | |
| < | < | ||
| ... | ... | ||
| SSLEngine on | SSLEngine on | ||
| - | SSLCertificateFile | + | SSLCertificateFile |
| SSLCertificateChainFile / | SSLCertificateChainFile / | ||
| SSLCertificateKeyFile | SSLCertificateKeyFile | ||
| - | SSLCACertificateFile | + | SSLCACertificateFile |
| ... | ... | ||
| </ | </ | ||
| - | </code> | + | </file> |
| - | et dans ''/ | + | |
| - | # modern configuration : https:// | + | Les paramètres communs peuvent être avantageusement placés |
| - | SSLProtocol | + | |
| - | SSLCipherSuite | + | <file apache |
| - | SSLHonorCipherOrder | + | # modern configuration : https:// |
| - | SSLCompression | + | SSLProtocol |
| - | + | SSLCipherSuite | |
| - | # HSTS (mod_headers is required) (15768000 seconds = 6 months) | + | SSLHonorCipherOrder |
| - | Header always add Strict-Transport-Security " | + | SSLCompression |
| - | + | ||
| - | # OCSP Stapling, only in httpd 2.3.3 and later | + | # HSTS (mod_headers is required) (15768000 seconds = 6 months) |
| - | SSLUseStapling | + | Header always add Strict-Transport-Security " |
| - | SSLStaplingResponderTimeout 5 | + | |
| - | SSLStaplingReturnResponderErrors off | + | # OCSP Stapling, only in httpd 2.3.3 and later |
| - | SSLStaplingCache | + | SSLUseStapling |
| + | SSLStaplingResponderTimeout 5 | ||
| + | SSLStaplingReturnResponderErrors off | ||
| + | SSLStaplingCache | ||
| + | </ | ||
| - | On n' | + | Activer cette configuration |
doc/httpd.1431775951.txt.gz · Dernière modification : 2015/05/16 11:32 de david.sinquin
