Solved

Amazon S3 using DNS subdomain and SSL for the at subdomain

Posted on 2011-02-15
3
1,076 Views
Last Modified: 2012-05-11
I am looking to use Amazon S3 for my store for my images.  I have setup a DNS name to match that of the Amazon S3 bucket name.  My question is how do I get an ssl to work to with that subdomain because the images won't be hosted on my server but on Amazon S3's.

DNS Setup for CName:
"s2.smointernational.com" points to "smoimages.s3.amazonaws.com"

-------------------------
http://s2.smointernational.com/i/PackNShipLogo-LtBlue.png - NONSSL
https://s2.smointernational.com/i/PackNShipLogo-LtBlue.png - SSL

Note - Have not purchased an SSL yet until I know the full answer to what I am looking for

https://smoimages.s3.amazonaws.com/PackNShipLogo-LtBlue.png - SSL
0
Comment
Question by:smolinitek
3 Comments
 
LVL 12

Accepted Solution

by:
Alan3285 earned 500 total points
ID: 34905215
Hi,

I'm not entirely sure what you mean.

If you buy an SSL cert for:

s2.smointernational.com

OR

*.smointernational.com

then when someone goes to the second link you posted, it won't match, since the webserver will dish up a cert for:

*.s3.amazonaws.com

If you link to an image using the third format, you would be okay, and you don't need to buy a cert to do that.

The second link still works - just that your users would get the cert error warning which is not likely to make them feel good!

Does that help?

Alan.
0
 
LVL 1

Expert Comment

by:imoiseev
ID: 34906203
Hi,

bucket name should be the same as full domain name. In your case, bucket name should be s2.smointernational.com
0
 

Author Comment

by:smolinitek
ID: 34906259
I need to make this secure.  So when I go secure with https://www.smointernational.com - all the items on the page also need to be secure.

I don't think it is possible as of right now to do something like https://s2.smointernational.com and have the files point to amazon's servers.  Where would you install the SSL Cert?

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This Micro Tutorial will explain how to export DynamoDB tables in Amazon Web Services.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now