1 Answer
- Newest
- Most votes
- Most comments
1
Hi. You can use custom authorizers: https://docs.aws.amazon.com/iot/latest/developerguide/custom-authentication.html
Tutorial: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/custom_authorizer_connect.md
Python sample: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/custom_authorizer_connect.md
C++ sample: https://github.com/aws/aws-iot-device-sdk-cpp-v2/blob/main/samples/mqtt/custom_authorizer_connect/README.md
Relevant content
- asked 6 years ago

I try to use custom authorizers,i created a Custom authorizers,but i don't know what to do with lambda and balabalabala......i try to write a lambda like this :https://github.com/thesuavedeveloper/youtube-labs/blob/main/Migrate%20Legacy%20IoT%20Devices%20to%20AWS%20IoT/lambda_enhanced_auth.py,and i try to connect but no any res
Sorry mate, it seems the python example requires CA certificate anyway, is it correct? I'm trying to reimplement the same in GoLang but it does not connect, and logs are not helpfull
Update: the error I can see is "error reported during SSLRead. OSStatus code -9805"