User Tools

Site Tools


infra:certs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
infra:certs [2019-02-12 16:04] – ↷ Page moved from certs to infra:certs barziinfra:certs [2021-12-05 22:22] – document proper way to move LE certs around using certbot renew_hook Lomanic
Line 4: Line 4:
 À rester. À rester.
  
 +2021-12-05 Lomanic: Il n'y a pas besoin de script, certbot peut tout faire, comme ceci (voir [[projets:fuz:spaceapi#deployment|spaceapi]] pour plus de détails) :
 +<code>
 +sudo certbot certonly --webroot -w /var/www/fuz.re/site -d fuz.re -d www.fuz.re --deploy-hook '/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf && service lighttpd reload; cp "$RENEWED_LINEAGE/fullchain.pem" /etc/exim4/fuz.re.crt && cp "$RENEWED_LINEAGE/privkey.pem" /etc/exim4/fuz.re.key'
 +</code>
  
 <del>J'ai utilisé ce tutoriel pour générer les clefs, obtenir des certificats et les installer pour les différents services : https://nipil.org/2014/06/10/renouvellement-certificats.html \\ <del>J'ai utilisé ce tutoriel pour générer les clefs, obtenir des certificats et les installer pour les différents services : https://nipil.org/2014/06/10/renouvellement-certificats.html \\
infra/certs.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1