如何为亚马逊S3存储配置SSL亚马逊、何为、SSL

2023-09-11 08:10:35 作者:拜拜。爱过

我使用的是亚马逊的S3存储上传和使用我的.NET应用程序下载数据。现在的问题是:我想要使用SSL来访问我的S3存储。是否有可能一个Amazon S3存储实现SSL?

I am using an Amazon S3 bucket for uploading and downloading of data using my .NET application. Now my question is: I want to access my S3 bucket using SSL. Is it possible to implement SSL for an Amazon s3 bucket?

在此先感谢。

推荐答案

是的,SSL开箱,但是,你需要使用你不能使用自定义域名 s3.amazonaws .COM /桶/键域名。原因在于使用自定义的CNAME需要自定义的SSL证书进行登记,并通过Amazon S3的服务了,他们目前不允许你这样做。

Yes, SSL works out of the box but you can't use a custom domain name, you need to use the s3.amazonaws.com/bucket/key domain name. The reason is that to use a custom CNAME would require a custom SSL Certificate to be registered and served up by Amazon S3 and they currently don't allow you to do this.

您应该可以通过SSL访问您的文件这样的:

You should be able to access your files via SSL Like this:

https://s3.amazonaws.com/bucket_name/images/logo.gif

如果您想使用pretty的域名从SSL通过S3恐怕你的运气了。它仅仅是我们不得不忍受暂时可惜。

If you want to use a pretty domain name from SSL over S3 I'm afraid you're out of luck. Its just something we have to live with for the time being unfortunately.

下面是在亚马逊支持的论坛讨论的自定义SSL证书线程:https://forums.aws.amazon.com/thread.jspa?threadID=60502

Here's a thread on Amazon Support forums discussing custom SSL Certificates: https://forums.aws.amazon.com/thread.jspa?threadID=60502