Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Amazon S3 using DNS subdomain and SSL for the at subdomain

Posted on 2011-02-15
3
Medium Priority
?
1,122 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 20

Accepted Solution

by:
Alan earned 2000 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

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
Considering cloud tradeoffs and determining the right mix for your organization.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

877 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