Getting Error Unable To Get Local Issuer Certificate (_ssl.c:1056) When Trying To Connect To Aws Iot
I'm getting the following error when trying to connecto t aws IoT myAWSIoTMQTTShadowClient.connect() File '/usr/local/lib/python3.7/dist-packages/AWSIoTPythonSDK/MQTTLib.py',
Solution 1:
I also saw this exact error in my first venture into the Pi IoT SDK today.
In my case I was using the Amazon root CA (RSA 2048) certificate (as directed by Amazon). By switching to the VeriSign Class 3 Public Primary G5 root CA certificate (also advertised on their website) the connection worked.
So, try using the VeriSign Endpoints (legacy) root certificate linked to from the AWS IoT docs at https://docs.aws.amazon.com/iot/latest/developerguide/server-authentication.html
Post a Comment for "Getting Error Unable To Get Local Issuer Certificate (_ssl.c:1056) When Trying To Connect To Aws Iot"