Outils pour utilisateurs

Outils du site


linux:ssl (lu 52147 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
linux:ssl [11-01-2023 11:10]
edmc73
linux:ssl [17-12-2023 10:35] (Version actuelle)
edmc73
Ligne 13: Ligne 13:
  
 ===== Avec Let's Encrypt ===== ===== Avec Let's Encrypt =====
 +
 +**MAJ 2024**
 +En résumé sur une fresh debian 11
 +
 +  apt install certbot python3-certbot-apache
 +  
 +<code>
 +# certbot --apache -d edmc73.com
 +Saving debug log to /var/log/letsencrypt/letsencrypt.log
 +Plugins selected: Authenticator apache, Installer apache
 +Enter email address (used for urgent renewal and security notices)
 + (Enter 'c' to cancel): toto@toto.com
 +
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +Please read the Terms of Service at
 +https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf. You must
 +agree in order to register with the ACME server. Do you agree?
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +(Y)es/(N)o: Y
 +
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +Would you be willing, once your first certificate is successfully issued, to
 +share your email address with the Electronic Frontier Foundation, a founding
 +partner of the Let's Encrypt project and the non-profit organization that
 +develops Certbot? We'd like to send you email about our work encrypting the web,
 +EFF news, campaigns, and ways to support digital freedom.
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +(Y)es/(N)o: Y
 +Account registered.
 +Requesting a certificate for edmc73.com
 +Performing the following challenges:
 +http-01 challenge for edmc73.com
 +Enabled Apache rewrite module
 +Waiting for verification...
 +Cleaning up challenges
 +Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf
 +Enabled Apache socache_shmcb module
 +Enabled Apache ssl module
 +Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf
 +Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf
 +Enabled Apache rewrite module
 +Redirecting vhost in /etc/apache2/sites-enabled/000-default.conf to ssl vhost in /etc/apache2/sites-available/000-default-le-ssl.conf
 +
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +Congratulations! You have successfully enabled https://edmc73.com
 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 +Subscribe to the EFF mailing list (email: toto@toto.com).
 +
 +IMPORTANT NOTES:
 + - Congratulations! Your certificate and chain have been saved at:
 +   /etc/letsencrypt/live/edmc73.com/fullchain.pem
 +   Your key file has been saved at:
 +   /etc/letsencrypt/live/edmc73.com/privkey.pem
 +   Your certificate will expire on 2024-03-16. To obtain a new or
 +   tweaked version of this certificate in the future, simply run
 +   certbot again with the "certonly" option. 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
 +
 +</code>
 +On se retrouve donc avec un nouveau fichier de config dans apache tout configuré pour que ça fonctionne en https.
 +
 +-------------------------
 +
  
 Let's Encrypt a bien évolué depuis sa version beta, je vais maintenant mettre mes scripts à jour et détailler le fonctionnement sur Debian 7 et Apache Let's Encrypt a bien évolué depuis sa version beta, je vais maintenant mettre mes scripts à jour et détailler le fonctionnement sur Debian 7 et Apache
linux/ssl.txt · Dernière modification: 17-12-2023 10:35 de edmc73