I am trying to use the AWS IoT basicPubSub.py script to test my AWS connection, but I keep getting this error. I have tried various fixes, but cannot resolve the problem.
I have tried it using my MacBook and RPi and still have the same issue.
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:720)