Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
http [2017/12/13 20:14] admin créée |
http [2017/12/13 20:44] (Version actuelle) admin |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | __HTTP__ | + | __HTTP (Apache2.4)__ |
| - | ** - Certificat SSL (serveur apache)** | + | ---- |
| + | ** - Certificat SSL** | ||
| * Let's Encrypt https://letsencrypt.org/ | * Let's Encrypt https://letsencrypt.org/ | ||
| * Installation avec git | * Installation avec git | ||
| Ligne 9: | Ligne 10: | ||
| * Renouvellement du certificat | * Renouvellement du certificat | ||
| <code bash>./letsencrypt-auto -d domaineA,domaineB,domaineC --renew-by-default --no-redirect --text</code> | <code bash>./letsencrypt-auto -d domaineA,domaineB,domaineC --renew-by-default --no-redirect --text</code> | ||
| - | no-redirect , pas de modification des fichiers de config. d'Apache | + | no-redirect , pas de modification des fichiers de config. d'Apache |
| - | text , n'affiche plus les "boites" ncurse | + | text , n'affiche plus les "boites" ncurse |
| + | *Vérification de la validité | ||
| + | <code bash>ssl-cert-check -c /etc/letsencrypt/live/domaine/fullchain.pem</code> | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ** - Masquer les informations serveur ** | ||
| + | * Fichier /etc/apache2/conf-enabled/security.conf ,Configuration avec les valeurs suivantes : | ||
| + | <code bash> | ||
| + | ServerTokens Prod | ||
| + | ServerSignature Off | ||
| + | </code> | ||