在运行命令:

  1. aws s3 ls --profile testUser(可以查看s3的用户名)

报错:
SSL validation failed for https://s3.all.amazonaws.com/ EOF occurred in violation of protocol (_ssl.c:1125)
用debug命令查看:

  1. aws s3 ls --debug

发现是Could not connect to the endpoint URL: “https://s3.all.amazonaws.com/
cat ~/.aws/config
发现是region配置错了。更正后,成功了。

分类: web

标签:   aws