How to generate a certificate for AWS EC2 instance part of AWS ECS ( Docker)

We have a domain and our web-app uses AWS ECS docker containers and we have 3 of such EC2 instances which host the docker containers. Since the web-app is https – the socket request we make to the docker containers also have to be https to avoid mixed content error.

We already have a certificate from Let’s Encrypt for our web-app – how do I go about certificates for individual EC2 instances which are a part of AWS ECS cluster ?

  • Nginx and uwsgi connection refused when placed in separate docker containers
  • How to create a web based console that interacts with the command line
  • Prepare Docker container for worst-case rescue via shell or exec
  • Kubernetes: VPN server and DNS issues
  • dumb terminal in non-interactive docker
  • RestAPI and Front-End on the same port in Docker
  • Edit 1 : our web-app is hosted on AWS and the docker containers launch a node https server

  • How can I add a volume to an existing Docker container?
  • Pitfalls of Docker Running Alongside MAMP
  • How to setup development environment easily?
  • Docker Compose stuck downloading or pulling fs layer
  • Is there a performance impact to having docker containers with different OS base boxes?
  • Redirecting Apache Logs to STDOUT
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.