报错 : 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
EXPERTO
preguntada hace 5 meses182 visualizaciones
1 Respuesta
0

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

profile picture
EXPERTO
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas