How install ssl certificate in EC2?

I installed Grsit builder edition on amazon ecc2 and runs great, i redirected dns from cloudlfare but still with ssl issue

HOW CAN I INSTALL SSL ON THE INSTANCE?

Hola Ramiro.

By default, Grist Builder Edition will use a self-signed certificate. If using Let’s Encrypt is the easiest option for you, all you need to do is make one change to your .env configuration file:

HTTPS_METHOD=auto

Thanks for bringing this to my attention. This should be clearer in the documentation.

¡Gracias y saludos!

Hola Jordy, tendrás algún tutorial? soy principiante apenas y pude instalarlo por mi mismo :sweat_smile:

(English translation follows below)

Hola de nuevo.

Primero ingresa con ssh a tu servidor Grist como ya lo has hecho antes y cambia al usuario grist por medio de sudo -iu grist. Una vez ahĂ­, usa el editor nano para modificar el archivo .env:

nano .env

Usa este editor para modificar la variable HTTPS_METHOD=manual y que sea HTTP_METHOD=auto.

Las combinaciones de teclas de nano figuran al inferior de la pantalla, donde ^ es Ctrl. Para guardar el archivo, teclea Ctrl-o seguido de Ctrl-x para salirte del editor.

Una vez hecho este cambio, reinicia Grist por medio de sudo systemctl restart grist. He aquí más instrucciones para manejar el proceso grist por medio de systemd.


Hi again.

First ssh into your Grist server as you’ve done before and switch to the grist user via sudo -iu grist. Once there, use the nano editor to edit the .env file:

nano .env

Use this editor to change the HTTPS_METHOD=manual variable to HTTP_METHOD=auto.

The nano shortcuts are listed at the bottom of the screen, where ^ is Ctrl. To save the file, type Ctrl-o followed by Ctrl-x to exit the editor.

Once this change is made, restart Grist via sudo systemctl restart grist. Here are further instructions for managing the grist process via systemd.

2 Likes

Solved!!!
Thank you!