amazon-web-services - 执行 aws s3 ls s3://[mybucketname:)] 时出现 InsecureRequestWarning --no-verify-ssl
问题描述
aws s3 ls s3://umd-stg-view --no-verify-ssl
/home1/aaaa/.local/lib/python3.5/site-packages/urllib3/connectionpool.py:1004:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is
strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
我已经完成了获取 s3 存储桶的列表,但由于上面的错误消息而失败。起初,我也设置了 aws configure
$ aws configure list
Name Value Type Location
---- ----- ---- --------
profile <not set> None None
access_key ****************IRMK shared-credentials-file
secret_key ****************CGXM shared-credentials-file
region us-east-1 config-file ~/.aws/config
我添加了“--no-verify-ssl”选项...
如何使用 aws cli 访问 aws s3 存储桶?
解决方案
推荐阅读
- python - “return +/-”在python中做了什么?
- reactjs - 如何在 next.js 中测试 _app.js 内部的逻辑?
- ios - 添加标签栏控制器时如何防止子视图被切断?
- php - PHP按域排序子域列表
- java - MongoDb 使用聚合查询 java 代码
- c++ - 等效的 Windows API 以支持 shell get-physicaldisk 命令
- reactjs - React-select v2 中的旋转箭头指示器
- python - 来自另一个类的实例的子类
- c# - 如何使用 C#.Net 存储不同响应类型的 API 结果集
- python - 将列表项与上一个列表项合并