Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing both requests and boto3 breaks boto3 with SSL Errors #2733

Closed
DrBomb opened this issue Jan 21, 2021 · 5 comments
Closed

Installing both requests and boto3 breaks boto3 with SSL Errors #2733

DrBomb opened this issue Jan 21, 2021 · 5 comments
Labels
needs-triage This issue or PR still needs to be triaged.

Comments

@DrBomb
Copy link

DrBomb commented Jan 21, 2021

Describe the bug
Installing requests alongside boto3 makes boto3 fail with botocore.exceptions.SSLError. Potentially screwing up the python environment and not making it possible to use boto3 any further.

Steps to reproduce
Use virtualenv. For some reason using python's built in venv results on failure regardless.

  1. Create a virtualenv with python3 -m virtualenv venv and activate it with source ./venv/bin/activate
  2. Install boto3 with pip install boto3
  3. Optionally run something that works. In my case I do a iot-data get-thing-shadow call, should work.
  4. Install requests with pip install requests
  5. Run test command again, the call will fail with botocore.exceptions.SSLError
  6. As far as I know there is no way to revert the "damage".

Expected behavior
Boto still working even with requests installed. In my case I installed boto3 alongside gspread which was what triggered the issue, as requests is a dependency.

Debug logs
Here's a complete call with debug

(botoenv) ubuntu@ip-172-31-22-159:~/FailsafeWatch$ python
Python 3.6.9 (default, Oct  8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto3
>>> boto3.set_stream_logger('')
>>> client = boto3.client('iot-data')
2021-01-21 04:19:39,045 botocore.hooks [DEBUG] Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
2021-01-21 04:19:39,047 botocore.hooks [DEBUG] Changing event name from before-call.apigateway to before-call.api-gateway
2021-01-21 04:19:39,047 botocore.hooks [DEBUG] Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
2021-01-21 04:19:39,049 botocore.hooks [DEBUG] Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
2021-01-21 04:19:39,049 botocore.hooks [DEBUG] Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
2021-01-21 04:19:39,050 botocore.hooks [DEBUG] Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
2021-01-21 04:19:39,051 botocore.hooks [DEBUG] Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
2021-01-21 04:19:39,054 botocore.hooks [DEBUG] Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
2021-01-21 04:19:39,054 botocore.hooks [DEBUG] Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
2021-01-21 04:19:39,054 botocore.hooks [DEBUG] Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
2021-01-21 04:19:39,054 botocore.hooks [DEBUG] Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
2021-01-21 04:19:39,064 botocore.utils [DEBUG] IMDS ENDPOINT: http://SNIP/
2021-01-21 04:19:39,066 botocore.credentials [DEBUG] Looking for credentials via: env
2021-01-21 04:19:39,066 botocore.credentials [DEBUG] Looking for credentials via: assume-role
2021-01-21 04:19:39,066 botocore.credentials [DEBUG] Looking for credentials via: assume-role-with-web-identity
2021-01-21 04:19:39,067 botocore.credentials [DEBUG] Looking for credentials via: sso
2021-01-21 04:19:39,067 botocore.credentials [DEBUG] Looking for credentials via: shared-credentials-file
2021-01-21 04:19:39,067 botocore.credentials [INFO] Found credentials in shared credentials file: ~/.aws/credentials
2021-01-21 04:19:39,068 botocore.loaders [DEBUG] Loading JSON file: /home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/data/endpoints.json
2021-01-21 04:19:39,077 botocore.hooks [DEBUG] Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f50178f1158>
2021-01-21 04:19:39,083 botocore.loaders [DEBUG] Loading JSON file: /home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/data/iot-data/2015-05-28/service-2.json
2021-01-21 04:19:39,084 botocore.hooks [DEBUG] Event creating-client-class.iot-data-plane: calling handler <function check_openssl_supports_tls_version_1_2 at 0x7f5017490378>
2021-01-21 04:19:39,085 botocore.hooks [DEBUG] Event creating-client-class.iot-data-plane: calling handler <function add_generate_presigned_url at 0x7f501791dea0>
2021-01-21 04:19:39,086 botocore.endpoint [DEBUG] Setting data.iot timeout as (60, 60)
2021-01-21 04:19:39,087 botocore.loaders [DEBUG] Loading JSON file: /home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/data/_retry.json
2021-01-21 04:19:39,088 botocore.client [DEBUG] Registering retry handlers for service: iot-data
>>> client.get_thing_shadow(thingName='test1')
2021-01-21 04:20:02,156 botocore.hooks [DEBUG] Event before-parameter-build.iot-data-plane.GetThingShadow: calling handler <function generate_idempotent_uuid at 0x7f50174910d0>
2021-01-21 04:20:02,157 botocore.hooks [DEBUG] Event before-call.iot-data-plane.GetThingShadow: calling handler <function inject_api_version_header_if_needed at 0x7f5017490840>
2021-01-21 04:20:02,157 botocore.endpoint [DEBUG] Making request for OperationModel(name=GetThingShadow) with params: {'url_path': '/things/test1/shadow', 'query_string': {}, 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57'}, 'body': b'', 'url': 'https://data.iot.us-west-2.amazonaws.com/things/test1/shadow', 'context': {'client_region': 'us-west-2', 'client_config': <botocore.config.Config object at 0x7f5016fac4e0>, 'has_streaming_input': False, 'auth_type': None}}
2021-01-21 04:20:02,157 botocore.hooks [DEBUG] Event request-created.iot-data-plane.GetThingShadow: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5016fac4a8>>
2021-01-21 04:20:02,158 botocore.hooks [DEBUG] Event choose-signer.iot-data-plane.GetThingShadow: calling handler <function set_operation_specific_signer at 0x7f501748bf28>
2021-01-21 04:20:02,158 botocore.auth [DEBUG] Calculating signature using v4 auth.
2021-01-21 04:20:02,158 botocore.auth [DEBUG] CanonicalRequest:
GET
/things/test1/shadow

host:data.iot.us-west-2.amazonaws.com
x-amz-date:20210121T042002Z

host;x-amz-date
SNIP
2021-01-21 04:20:02,158 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20210121T042002Z
20210121/us-west-2/iotdata/aws4_request
SNIP
2021-01-21 04:20:02,159 botocore.auth [DEBUG] Signature:
SNIP
2021-01-21 04:20:02,159 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=True, method=GET, url=https://data.iot.us-west-2.amazonaws.com/things/test1/shadow, headers={'User-Agent': b'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57', 'X-Amz-Date': b'20210121T042002Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SNIP/20210121/us-west-2/iotdata/aws4_request, SignedHeaders=host;x-amz-date, Signature=SNIP'}>
2021-01-21 04:20:02,160 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (1): data.iot.us-west-2.amazonaws.com:443
2021-01-21 04:20:02,194 botocore.endpoint [DEBUG] Exception received when sending HTTP request.
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:02,199 botocore.hooks [DEBUG] Event needs-retry.iot-data-plane.GetThingShadow: calling handler <botocore.retryhandler.RetryHandler object at 0x7f5016fac860>
2021-01-21 04:20:02,199 botocore.retryhandler [DEBUG] retry needed, retryable exception caught: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:02,203 botocore.retryhandler [DEBUG] Retry needed, action of: 0.12185977328134845
2021-01-21 04:20:02,203 botocore.endpoint [DEBUG] Response received to retry, sleeping for 0.12185977328134845 seconds
2021-01-21 04:20:02,325 botocore.hooks [DEBUG] Event request-created.iot-data-plane.GetThingShadow: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5016fac4a8>>
2021-01-21 04:20:02,326 botocore.hooks [DEBUG] Event choose-signer.iot-data-plane.GetThingShadow: calling handler <function set_operation_specific_signer at 0x7f501748bf28>
2021-01-21 04:20:02,326 botocore.auth [DEBUG] Calculating signature using v4 auth.
2021-01-21 04:20:02,326 botocore.auth [DEBUG] CanonicalRequest:
GET
/things/test1/shadow

host:data.iot.us-west-2.amazonaws.com
x-amz-date:20210121T042002Z

host;x-amz-date
SNIP
2021-01-21 04:20:02,327 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20210121T042002Z
20210121/us-west-2/iotdata/aws4_request
SNIP
2021-01-21 04:20:02,327 botocore.auth [DEBUG] Signature:
SNIP
2021-01-21 04:20:02,327 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=True, method=GET, url=https://data.iot.us-west-2.amazonaws.com/things/test1/shadow, headers={'User-Agent': b'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57', 'X-Amz-Date': b'20210121T042002Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SNIP/20210121/us-west-2/iotdata/aws4_request, SignedHeaders=host;x-amz-date, Signature=SNIP'}>
2021-01-21 04:20:02,328 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (2): data.iot.us-west-2.amazonaws.com:443
2021-01-21 04:20:02,339 botocore.endpoint [DEBUG] Exception received when sending HTTP request.
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:02,341 botocore.hooks [DEBUG] Event needs-retry.iot-data-plane.GetThingShadow: calling handler <botocore.retryhandler.RetryHandler object at 0x7f5016fac860>
2021-01-21 04:20:02,341 botocore.retryhandler [DEBUG] retry needed, retryable exception caught: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:02,342 botocore.retryhandler [DEBUG] Retry needed, action of: 1.6558029495951943
2021-01-21 04:20:02,342 botocore.endpoint [DEBUG] Response received to retry, sleeping for 1.6558029495951943 seconds
2021-01-21 04:20:03,999 botocore.hooks [DEBUG] Event request-created.iot-data-plane.GetThingShadow: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5016fac4a8>>
2021-01-21 04:20:04,000 botocore.hooks [DEBUG] Event choose-signer.iot-data-plane.GetThingShadow: calling handler <function set_operation_specific_signer at 0x7f501748bf28>
2021-01-21 04:20:04,000 botocore.auth [DEBUG] Calculating signature using v4 auth.
2021-01-21 04:20:04,000 botocore.auth [DEBUG] CanonicalRequest:
GET
/things/test1/shadow

host:data.iot.us-west-2.amazonaws.com
x-amz-date:20210121T042004Z

host;x-amz-date
SNIP
2021-01-21 04:20:04,001 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20210121T042004Z
20210121/us-west-2/iotdata/aws4_request
SNIP
2021-01-21 04:20:04,001 botocore.auth [DEBUG] Signature:
SNIP
2021-01-21 04:20:04,001 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=True, method=GET, url=https://data.iot.us-west-2.amazonaws.com/things/test1/shadow, headers={'User-Agent': b'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57', 'X-Amz-Date': b'20210121T042004Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SNIP/20210121/us-west-2/iotdata/aws4_request, SignedHeaders=host;x-amz-date, Signature=SNIP'}>
2021-01-21 04:20:04,002 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (3): data.iot.us-west-2.amazonaws.com:443
2021-01-21 04:20:04,013 botocore.endpoint [DEBUG] Exception received when sending HTTP request.
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:04,016 botocore.hooks [DEBUG] Event needs-retry.iot-data-plane.GetThingShadow: calling handler <botocore.retryhandler.RetryHandler object at 0x7f5016fac860>
2021-01-21 04:20:04,016 botocore.retryhandler [DEBUG] retry needed, retryable exception caught: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:04,019 botocore.retryhandler [DEBUG] Retry needed, action of: 0.4317389993497769
2021-01-21 04:20:04,019 botocore.endpoint [DEBUG] Response received to retry, sleeping for 0.4317389993497769 seconds
2021-01-21 04:20:04,451 botocore.hooks [DEBUG] Event request-created.iot-data-plane.GetThingShadow: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5016fac4a8>>
2021-01-21 04:20:04,452 botocore.hooks [DEBUG] Event choose-signer.iot-data-plane.GetThingShadow: calling handler <function set_operation_specific_signer at 0x7f501748bf28>
2021-01-21 04:20:04,452 botocore.auth [DEBUG] Calculating signature using v4 auth.
2021-01-21 04:20:04,452 botocore.auth [DEBUG] CanonicalRequest:
GET
/things/test1/shadow

host:data.iot.us-west-2.amazonaws.com
x-amz-date:20210121T042004Z

host;x-amz-date
SNIP
2021-01-21 04:20:04,452 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20210121T042004Z
20210121/us-west-2/iotdata/aws4_request
SNIP
2021-01-21 04:20:04,452 botocore.auth [DEBUG] Signature:
SNIP
2021-01-21 04:20:04,452 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=True, method=GET, url=https://data.iot.us-west-2.amazonaws.com/things/test1/shadow, headers={'User-Agent': b'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57', 'X-Amz-Date': b'20210121T042004Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SNIP/20210121/us-west-2/iotdata/aws4_request, SignedHeaders=host;x-amz-date, Signature=SNIP'}>
2021-01-21 04:20:04,453 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (4): data.iot.us-west-2.amazonaws.com:443
2021-01-21 04:20:04,467 botocore.endpoint [DEBUG] Exception received when sending HTTP request.
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:04,468 botocore.hooks [DEBUG] Event needs-retry.iot-data-plane.GetThingShadow: calling handler <botocore.retryhandler.RetryHandler object at 0x7f5016fac860>
2021-01-21 04:20:04,468 botocore.retryhandler [DEBUG] retry needed, retryable exception caught: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:04,468 botocore.retryhandler [DEBUG] Retry needed, action of: 4.267198458064695
2021-01-21 04:20:04,468 botocore.endpoint [DEBUG] Response received to retry, sleeping for 4.267198458064695 seconds
2021-01-21 04:20:08,740 botocore.hooks [DEBUG] Event request-created.iot-data-plane.GetThingShadow: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5016fac4a8>>
2021-01-21 04:20:08,741 botocore.hooks [DEBUG] Event choose-signer.iot-data-plane.GetThingShadow: calling handler <function set_operation_specific_signer at 0x7f501748bf28>
2021-01-21 04:20:08,741 botocore.auth [DEBUG] Calculating signature using v4 auth.
2021-01-21 04:20:08,741 botocore.auth [DEBUG] CanonicalRequest:
GET
/things/test1/shadow

host:data.iot.us-west-2.amazonaws.com
x-amz-date:20210121T042008Z

host;x-amz-date
SNIP
2021-01-21 04:20:08,741 botocore.auth [DEBUG] StringToSign:
AWS4-HMAC-SHA256
20210121T042008Z
20210121/us-west-2/iotdata/aws4_request
SNIP
2021-01-21 04:20:08,741 botocore.auth [DEBUG] Signature:
SNIP
2021-01-21 04:20:08,741 botocore.endpoint [DEBUG] Sending http request: <AWSPreparedRequest stream_output=True, method=GET, url=https://data.iot.us-west-2.amazonaws.com/things/test1/shadow, headers={'User-Agent': b'Boto3/1.16.57 Python/3.6.9 Linux/5.4.0-1035-aws Botocore/1.19.57', 'X-Amz-Date': b'20210121T042008Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SNIP, SignedHeaders=host;x-amz-date, Signature=SNIP'}>
2021-01-21 04:20:08,742 urllib3.connectionpool [DEBUG] Starting new HTTPS connection (5): data.iot.us-west-2.amazonaws.com:443
2021-01-21 04:20:08,752 botocore.endpoint [DEBUG] Exception received when sending HTTP request.
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
2021-01-21 04:20:08,755 botocore.hooks [DEBUG] Event needs-retry.iot-data-plane.GetThingShadow: calling handler <botocore.retryhandler.RetryHandler object at 0x7f5016fac860>
Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 317, in send
    chunked=self._chunked(request.headers),
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect
    tls_in_tls=tls_in_tls,
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/client.py", line 663, in _make_api_call
    operation_model, request_dict, request_context)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/client.py", line 682, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 102, in make_request
    return self._send_request(request_dict, operation_model)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 137, in _send_request
    success_response, exception):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 256, in _needs_retry
    caught_exception=caught_exception, request_dict=request_dict)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/hooks.py", line 356, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/hooks.py", line 228, in emit
    return self._emit(event_name, kwargs)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/hooks.py", line 211, in _emit
    response = handler(**kwargs)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 183, in __call__
    if self._checker(attempts, response, caught_exception):
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 251, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 277, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/endpoint.py", line 269, in _send
    return self.http_session.send(request)
  File "/home/ubuntu/botoenv/lib/python3.6/site-packages/botocore/httpsession.py", line 335, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.us-west-2.amazonaws.com/things/test1/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
@DrBomb DrBomb added the needs-triage This issue or PR still needs to be triaged. label Jan 21, 2021
@DrBomb
Copy link
Author

DrBomb commented Jan 21, 2021

The issue comes from installing certifi on the same environment as boto3. Not requests as previously posted.

@DrBomb
Copy link
Author

DrBomb commented Jan 21, 2021

It is related to certifi/python-certifi#142 as it removes some certificates and breaks boto3's SSL. I will close the issue now as it is not a boto3 issue. Good day!

@DrBomb DrBomb closed this as completed Jan 21, 2021
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@surajrav
Copy link

surajrav commented Feb 3, 2021

I'm experiencing this issue as well? What is the long term solution to this? Since certifi folks state that they're merely a repackaging of Mozilla's CA store and Mozilla has dropped these Symanctec certs

@DrBomb
Copy link
Author

DrBomb commented Feb 4, 2021

No idea to be honest. Boto3 works while certifi is not installed. Your only option is to install a certifi version earlier than 2020.12.05.

I guess if the problem keeps popping up, boto3 would have to make sure to use their own SSL certs instead of what certifi installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants