I am currently new with the boto and SSL. I am running a code which creates instances in AWS. When I run the code (tried on global and virtual env both) I get the error:
self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)
I checked various posts but none of them work. Cross checked my .aws, installed certifi. Checked openssl:
$ python -c "import ssl; print ssl.OPENSSL_VERSION"
OpenSSL 1.0.2o 27 Mar 2018.
Do I need to some how insert openssl in my virtual environment?
Edit 1- For the temporary fix
$ export PYTHONHTTPSVERIFY=0