documentation/infra/letsencrypt.md

27 lines
No EOL
453 B
Markdown

# 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`.