报错 : 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
ESPERTO
posta 5 mesi fa182 visualizzazioni
1 Risposta
0

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

profile picture
ESPERTO
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande