2021-10-22 15:38:41 +02:00
|
|
|
# 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
|
|
|
|
```
|
|
|
|
|
2021-10-25 14:35:27 +02:00
|
|
|
Le certificat est généré dans `/var/lib/dehydrated/certs/foo.libre-service.eu/`.
|