Ajouter 'infra/letsencrypt'
This commit is contained in:
parent
adedb4b81f
commit
bac474c93c
1 changed files with 27 additions and 0 deletions
27
infra/letsencrypt
Normal file
27
infra/letsencrypt
Normal 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`.
|
Loading…
Reference in a new issue