https在S3没有云端可能吗? [英] https on S3 WITHOUT cloudfront possible?

查看:282
本文介绍了https在S3没有云端可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前希望通过AWS S3开始托管我们的所有资产,我们也希望通过https服务一切。我知道我可以使用Cloudfront的亚马逊证书管理器(ACM)来通过https服务器资产。问题是我们在医疗行业,我们在法律上被禁止在欧盟以外的地方举办任何活动。使用S3,我可以选择一个位置(法兰克福为我们),但使用Cloudfront我只能得到这个选项:

We currently want to start hosting all our assets through AWS S3 and we also want to server everything over https. I understand I can use the Amazon Certificate Manager (ACM) with Cloudfront to server assets over https. The problem is that we are in the medical industry and we are legally prohibited to host anything outside the EU. With S3 I can choose a location (Frankfurt for us), but with Cloudfront I just get this option:

所以我认为我可以使用Letsencrypt来生成我自己的证书。但我认为我仍然需要使用仅适用于Cloudfront的ACM,这意味着我仍然无法使用它。

So I thought that I could maybe use Letsencrypt to generate my own certs. But I think I then still need to use ACM which only works with Cloudfront, which means I still can't use it.

有人知道我是否能以某种方式设置S3使用https但没有 cloudfront?

Does anybody know if I can somehow setup S3 with https but without cloudfront?

推荐答案

很遗憾,您无法在自定义中使用SSL证书域名与S3。您可以将S3域与Amazon SSL证书一起使用,例如: https://my-example-bucket.s3-website-us-east-1.amazonaws.com

Unfortunately you can't use an SSL certificate with your custom domain with S3. You can use the S3 domain with the Amazon SSL certificate like: https://my-example-bucket.s3-website-us-east-1.amazonaws.com.

如果您想使用带有SSL的自定义域,并且无法使用CloudFront,那么您需要考虑在S3之前放置一些其他代理你自己的Nginx服务器什么的。

If you want to use a custom domain with SSL, and you can't use CloudFront, then you will need to look into placing some other proxy in front of S3 like your own Nginx server or something.

这篇关于https在S3没有云端可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆