I am trying to debug a situation with my elastic beanstalk enviornment where my certificate from certificate manager is successfully being recognized by my eb environment name and throwing an error, as it should, since my certificate is for my domain and not elasticbeanstalk.com, but when I try to access my site at beta.mysite.com
I notice that it is still using http and not https. As a result I am trying to determine if this is an issue with my CNAME records, my expressjs setup or something with my load balancer. Here is my current setup:
SSL ID: .*mysite.com
- Status: Issued
- In Use: Yes
Load Balancer:
- Listener Port: 80
- Protocol: HTTP
- Secure Listener Port: 443
- Protocol: HTTPS
- Cross-zone load balancing: Unchecked
SSL certificate ID: .*mysite.com
Rest of options set by default
CNAME:
- Name: beta.mysite.com
- Alias: No
- TTL: 300 seconds
- Value: beta-app.us-east-1.elasticbeanstalk.com
- Routing Policy: Simple
ExpressJS:
- I figured that all of this process should exist on the server instance and not in the back-end code so I have not added any modules or options for using https.