|
@@ -159,7 +159,7 @@ pip install google google-cloud-dns
|
|
|
|
|
|
Cambiarse al directorio de herramientas de LetsEncrypt:
|
|
|
```
|
|
|
-cd /opt/installer/letsencrypt
|
|
|
+cd /opt/flowdat/letsencrypt
|
|
|
```
|
|
|
|
|
|
Correr el script:
|
|
@@ -181,7 +181,7 @@ pip install certbot-dns-google
|
|
|
|
|
|
Cambiar al directorio de herramientas de letsencrypt:
|
|
|
```
|
|
|
-cd /opt/installer/letsencrypt
|
|
|
+cd /opt/flowdat/letsencrypt
|
|
|
```
|
|
|
|
|
|
Alterar el script de renovación para que funcione con nuestro dominio:
|
|
@@ -192,13 +192,13 @@ sed -i 's/DOMAIN_NAME_REPLACE/NOMBRE_DOMINIO/g' flowdat_deploy.sh
|
|
|
|
|
|
Correr certbot para obtener el certificado por primera vez:
|
|
|
```
|
|
|
-certbot certonly --cert-name NOMBRE_DOMINIO --dns-google --dns-google-credentials /opt/installer/letsencrypt/key.json --server https://acme-v02.api.letsencrypt.org/directory -d "*.NOMBRE_DOMINIO" -d "NOMBRE_DOMINIO" --deploy-hook=/opt/installer/letsencrypt/flowdat_deploy.sh
|
|
|
+certbot certonly --cert-name NOMBRE_DOMINIO --dns-google --dns-google-credentials /opt/flowdat/letsencrypt/key.json --server https://acme-v02.api.letsencrypt.org/directory -d "*.NOMBRE_DOMINIO" -d "NOMBRE_DOMINIO" --deploy-hook=/opt/flowdat/letsencrypt/flowdat_deploy.sh
|
|
|
```
|
|
|
**IMPORTANTE**: Reemplazar NOMBRE_DOMINIO con el dominio del cliente, ej: galvez.flowdat.net.
|
|
|
|
|
|
Verificar que la siguiente línea aparezca entre las últimas a la salida del comando:
|
|
|
```
|
|
|
-Running deploy-hook command: /opt/installer/letsencrypt/flowdat_deploy.sh
|
|
|
+Running deploy-hook command: /opt/flowdat/letsencrypt/flowdat_deploy.sh
|
|
|
```
|
|
|
|
|
|
...la cual indica que el hook se ejecutó. Eso significa que los certificados deberían haberse copiado a la carpeta de Nginx. Verificar con el navegador que el sitio web sea seguro.
|