报错 : If Bucket contains '.' like part.txt in any url in rest api

0

【以下的问题经过翻译处理】 but when I use this bucket name in rest API in net core with URL https://my.example.s3.bucket.s3.amazonaws.com To get the location of the bucket It shows below the ERROR One or more errors occurred. | An error occurred while sending the request. | The underlying connection was closed: Could not establish a trust relationship for the SSL/TLS secure channel. | The remote certificate is invalid according to the validation procedure. AWS允许S3桶的名称中包含'.',例如:my.example.s3.bucket。但是,当我在.NET Core的REST API中使用这个Bucket名称时(URL为https://my.example.s3.bucket.s3.amazonaws.com),在获取Bucket的位置的时候,会显示以下错误: ERROR One or more errors occurred. | An error occurred while sending the request. | The underlying connection was closed: Could not establish a trust relationship for the SSL/TLS secure channel. | The remote certificate is invalid according to the validation procedure

profile picture
专家
已提问 5 个月前172 查看次数
1 回答
0

【以下的回答经过翻译处理】 您应该使用URL: https://s3.amazonaws.com/my.example.s3.bucket

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则