I tried logging in to prefect cloud using Git bash but got the following (truncated) error message:
File "C:\Users\hgachuru\.virtualenvs\prefect-tutorial-jK7ixAt2\Lib\site-packages\httpcore\_async\connection.py", line 149, in _connect
stream = await stream.start_tls(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgachuru\.virtualenvs\prefect-tutorial-jK7ixAt2\Lib\site-packages\httpcore\_backends\anyio.py", line 78, in start_tls
raise exc
File "C:\Users\hgachuru\.virtualenvs\prefect-tutorial-jK7ixAt2\Lib\site-packages\httpcore\_backends\anyio.py", line 69, in start_tls
ssl_stream = await anyio.streams.tls.TLSStream.wrap(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgachuru\.virtualenvs\prefect-tutorial-jK7ixAt2\Lib\site-packages\anyio\streams\tls.py" await wrapper._call_sslobject_method(ssl_object.do_handshake)
File "C:\Users\hgachuru\.virtualenvs\prefect-tutorial-jK7ixAt2\Lib\site-packages\anyio\streams\tls.py", line 131, in _call_sslobject_method
result = func(*args)
^^^^^^^^^^^
File "C:\Users\hgachuru\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line 979, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
An exception occurred.
Has anyone experienced the same issue? How can I resolve it?
Please note that I’ve tried nearly all solutions from this stackoverflow page