Richard Vergis
Richard Vergis

Reputation: 1057

Subdomain with WWW not secured even with a SSL Certificate

I have requested a certificate in AWS Certificate Manager for its Domain Name and its Subdomain and it's already issued.

example.com
*.example.com

I have check each domain and subdomain with www and with non-www

https://www.example.com // secured
https://example.com // secured

https://www.subdomain.example.com // not secured
https://subdomain.example.com // secured

I have use S3 bucket for Static Web Hosting and CloudFront for the app.

What is the reason for this? Am I doing this right?

Upvotes: 1

Views: 87

Answers (1)

Matt Healy
Matt Healy

Reputation: 18531

Your certificate would need to include:

example.com
*.example.com
*.subdomain.example.com

Upvotes: 1

Related Questions