Solved

Amazon S3 using DNS subdomain and SSL for the at subdomain

Posted on 2011-02-15
3
1,082 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to ensure a smooth transition to Let's Encrypt SSL Cert? 2 80
Amazon S3 Security 2 112
SSL checker internal 4 84
stackato and cloud 4 95
Steve Terp was featured in a video created by CRN about how "Channel Is Crucial To Market Disruption". Click on View source to see the video and article
In the wake of AWS' S3 outage, we want to discuss the importance of storage and data diversification in the event of a hack, crash, or system disruption. We spoke with Experts Exchange’s COO Gene Richardson for a deeper understanding.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

830 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