Docker, Geonode, Nginx and Lets Encrypt

Hello everyone, first of all to clarify that I am quite newby on this.
I have a server with Ubuntu 20.04 running Docker on which there are several containers up to run Geonode (according to their instructions). The web service, database access and other things are working fine. But I can't install Lets Encrypt so that the service can be seen correctly from outside my LAN. Everything related to DNS, public IP is correctly configured. Internally I can see my page with the certificate error (invalid), but from the outside it responds with ERR_SSL_PROTOCOL_ERROR.
I leave all the requested information below. Any help is welcome.

My domain is: https://mapas.desertificacion.gob.ar

My web server is (include version): Nginx 3.X on Docker 20.10

The operating system my web server runs on is (include version): Ubuntu 20.04

My hosting provider, if applicable, is: Innova

I can login to a root shell on my machine (yes or no, or I don't know): YES

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): NO

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 0.40.0

If you need, I can provide information about the configuration files both docker-compose.yml or .env or nginx.conf etc, as well as a list of containers, etc.
Thank you so much!

1 Like

First, running multiple containers is complicated. You should ask Geonode about this problem since they provided the instructions.

My quick look says your domain cannot be reached using HTTPS on the standard 443 port. This could be a firewall or just wrongly configured containers. See (this link) or (this one). Or, does Geonode use a non-standard port?

By the way, certbot 0.40 is fairly old and Ubuntu 20 supports the current snap based Certbot. This isn't causing the comms problem but is something you may want to upgrade anyway.

3 Likes

First of all thank you very much for your answer Mike.
Geonode uses the standard ports for https and http access.
I'm going to follow your advice and consult the people at Geonode, since Docker is making it very difficult for me to run both Certbot and Lets Encrypt to certify my domain.
I leave the same screenshots of my containers and docker-compose.yml

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.