InsecureRequestWarning при выполнении aws s3 ls s3: // [mybucketname :)] --no-verify-ssl - PullRequest
0 голосов
/ 23 марта 2020
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 s3 bucket с aws cli?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...