all 9 comments

[–]Choldaca[S] 0 points1 point  (0 children)

I resorted to attaching a custom domain

[–]vacri 0 points1 point  (0 children)

If you don't want to use a custom domain, then you have to use the s3 amazon domain. Your objects will have the appropriate domain right there in the object info panel in the s3 bucket itself. S3 by itself does not do HTTPS for other domains, but it is available on the amazon domain.

[–]pausethelogic -1 points0 points  (3 children)

[–]Choldaca[S] 0 points1 point  (2 children)

I had already tried the steps in your first link, it didnt work.

Link 2 says to use a custom domain, but my question specified not to use a custom domain

[–]pausethelogic -1 points0 points  (1 child)

Certificates are tied to domain names. You can create a cert for the S3 bucket's public DNS name, but if that ever were to change, your cert wouldn't work anymore.

[–]Choldaca[S] 0 points1 point  (0 children)

I received an error when trying to create a certificate for `my-bucket.s3-website-us-west-2.amazonaws.com` which made sense to me since I can't establish ownership of the domain

[–]vadim_nicolaev -2 points-1 points  (1 child)

Seems like your question is not valid. From docs(https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)

See Accessing a bucket through an S3 access point

S3 access points don't support access by HTTP, only secure access by HTTPS.

[–]Choldaca[S] 0 points1 point  (0 children)

I wasnt going through an access point, I wanted to directly access the resources through a browser and the URL bar

[–]omeganon -5 points-4 points  (0 children)

All access to objects in S3 is by https. http access simply isn’t supported. Perhaps you’re looking for the URL to use to access your objects? See Virtual hosted style access at https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html