报错 : 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ヶ月前182ビュー
1回答
0

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

profile picture
エキスパート
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ