I have a pyramid / python application with a page on www.domain.com that creates html pages on s3.amazonaws.com/testbucket/object_name page. Right now in this test bucket, I also have javascript files that every object uses (html page). I want users to be able to go to subdomain.domain.com/object_name and view the files with javascript enabled. I have cname'd subdomain.domain.com (my bucket name) on s3.amazonaws.com. (with this last period at the end). Now I have two problems (I am much more interested in the second)
1). When I try to access the url via https://subdomain.domain.com/object_name , I get a security error message (I assume this is because it is being redirected to the amazon s3 bucket. How can I get ssl certificate for your bucket?
2) When I try to access the URL through http://subdomain.domain.com/object_name , there is no secutiry error (not https), but javascript isnβt. How can I make sure that these jacvascript files in the s3 bucket still work?
Edit: when viewing developer tools, I see an error: Could not load the resource: the server responded with the status 403 (Forbidden), referring to the javascript file. Why would this file be banned if I published it in a bucket?
source share