I cannot reconcile a problem with AWS S3 Virtual Hosting. I require SSL and the index page to be served when navigating to the hostname.
- Serves up index page over plain-text: http://hjr-test.s3-website-us-east-1.amazonaws.com/
- Not accessible over SSL: https://hjr-test.s3-website-us-east-1.amazonaws.com/
- Accesible over SSL, but does not serve index page: https://hjr-test.s3.amazonaws.com/
- Accessible over SSL and serves explicit page: https://hjr-test.s3.amazonaws.com/index.html
Is there a way I can have SSL access and serve the index page?
Best I can tell, there are 2 ways to get to your s3 bucket:
The s3 url supports SSL, but it's just a raw "get" from the bucket. No fancy stuff. The website url supports special website-specific features like redirect rules & automatic index page redirect, but not SSL.
I don't know why the website urls don't support SSL. Maybe amazon hasn't implemented it yet? Maybe they want you to use the non-region-specific domain for some reason? Maybe they want you to use CloudFront? Maybe their secret overlord council of lizard people has forbidden it on penalty of death.
I'm sure it will be obvious to me once someone explains it to me.
Anyway, that's my understanding anyway after poking around. I'm pretty new to this stuff, so take it with a grain of salt.
No SSL from S3 Website endpoint. Sorry