Ajouter 'infra/letsencrypt'

This commit is contained in:
Christian P. MOMON 2021-10-22 15:38:41 +02:00
parent adedb4b81f
commit bac474c93c

27
infra/letsencrypt Normal file
View file

@ -0,0 +1,27 @@
# Let's encrypt
# Installation
Installer les paquets :
```
apt-get install dehydrated dehydrated-apache2
```
Recharger Apache :
```
systemctl reload apache2.service
```
```
/usr/bin/dehydrated --register --accept-terms
```
# Générer un certificat
Ajouter foo.libre-service.eu dans `/etc/dehydrated/domains.txt`.
Lancer la génération :
```
/usr/bin/dehydrated -c
```
Le certificat est généré dans `/var/lib/dehydrated/certs/foo.devinsy.fr`.