Projet

Général

Profil

Demande #4934

Scripter l'ajout d'un vhost sur le bastion

Ajouté par François Poulain il y a plus de 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
-
Version cible:
Début:
27/11/2020
Echéance:
% réalisé:

0%

Temps estimé:
Difficulté:
2 Facile

Description

Oui parce que bon, hein. J'aime les copier/coller mais ya des limites.

Historique

#1

Mis à jour par François Poulain il y a plus de 3 ans

J'ai créé manage_vhost qui est une adaptation légère d'un script interne à cliss21. Je l'installe sur le bastion. Il est autodocumenté.

#2

Mis à jour par François Poulain il y a plus de 3 ans

  • Statut changé de Nouveau à Résolu
  • Version cible changé de Backlog à Décembre 2020
#3

Mis à jour par François Poulain il y a plus de 3 ans

\o/

# manage_vhost add dev.libreassociation.info
Traitement de « dev.libreassociation.info »
 + Création de la configuration NGINX dans « /etc/nginx/sites-available/dev.libreassociation.info »...
 + Création des dossiers nécessaires...
 + Domaine ajouté !
 + Activation de la configuration NGINX...
'/etc/nginx/sites-enabled/dev.libreassociation.info' -> '/etc/nginx/sites-available/dev.libreassociation.info'
 + Rechargement de NGINX...
 + Domaine activé !
 + Demande du certificat TLS avec Let's Encrypt...
----
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for dev.libreassociation.info
Using the webroot path /var/www/acme-challenge for all unmatched domains.
Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/dev.libreassociation.info/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/dev.libreassociation.info/privkey.pem
   Your cert will expire on 2021-02-25. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew" 
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

----
 + Activation des directives NGINX pour TLS...
 + Rechargement de NGINX...
 + TLS activé pour le domaine !

#4

Mis à jour par Quentin Gibeaux il y a environ 3 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF