How to setup SSL to a droplet with Docker w/ Apache Container

  apache, digital-ocean, docker, ssl

all.

We have a droplet with Ubuntu and a Docker containerized application (apache, mysql and socketio). We are trying to setup HTTPS to the droplet using this instruction:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

However after installing certbot on the droplet itself and following the instructions on making changes to the virtual hosts files on our Apache container we are stuck.
We have the certbot running on the droplet, but it doesn’t see Apache configuration. If we login to the Apache container it doesn’t have access to the certbot app.

Please advice how we can achieve HTTPS to our Docker containerized application on Ubuntu droplet.

Thanks in advance

Source: Docker Questions

LEAVE A COMMENT