I've created SSL certificate on AWS using Certificate Manager (ACM). I included the domain and wildcard in the list of domains for this certificate:
- mydomain.com
- *.mydomain.com
Then I uploaded some application to Elastic Beanstalk. To redirect to the subdomain I added CNAME in Namecheap provider pointing from subdomain.mydomain.com to AWS app url.
The redirection works itself so I can see http://subdomain.mydomain.com but browser says it's not secure and https://subdomain.mydomain.com not working at all.
What am I missing?