I have following setup at AWS ECS:
- Container with Caddy web-server at 80 port that serves static files and performs proxying of
/api/*
requests to backend - Container with backend at 8000 port
- EC2 instance at ECS
- ALB at subdomain http://some-subdomain-12345.us-east-2.elb.amazonaws.com/ (subdomain was provided automatically by AWS) with HTTP Listener
I want to setup SSL certificate and HTTPS Listener for ALB at this subdomain that was provided by AWS - how I can do it?
P.S. I have seen an option for ALB with HTTPS Listener when we are attaching custom domain i.e. example.com
and AWS will provide SSL certificate for it. But this is a pet project environment and I don't worry about real domain.