报错 : 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
EXPERT
demandé il y a 5 mois182 vues
1 réponse
0

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

profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions