- Newest
- Most votes
- Most comments
hey @pc9705atgmi, Bruno, Jason I think I've found the problem. According to https://docs.aws.amazon.com/iot/latest/developerguide/iot-connect-devices.html old accountEndpointPrefix of type iot:Data should not be used. It is described as legacy 'Verisign' endpoint and it obviously doesn't work with Android 12. Call: aws iot describe-endpoint --endpoint-type iot:Data-ATS
and you will get new accountEndpointPrefix ending with -ats (or you can just add -ats to your current accountEndpointPrefix) and try again. It works fine for me now.
Goran
Hi Bruno, Jason, I've tried on Samsung S21 and Google Pixel 4. Both with Android 12. The same problem. People are reporting it on other websites too: https://github.com/aws-amplify/aws-sdk-android/issues/2741
Goran
Can you please clarify what AWS servers you are connecting to? Are they self-managed? If so can you check its configurations?
Thanks for your reply! My reply is as follows:
- AWS Iot Server.
- Sorry! I don't know what "Are they self-managed?" means.
- Android 8/9/10/11 phones are working normally. So I don't think it is a matter of configurations.
hey @pc9705atgmi - this seems to be an indication that the signing rootCA isn't present on that device. Have you tried a different Android12 device? Also, getting additional details on that rootCA failing validation might help. In odd cases where devices are on a local network that have proxies, i have seen similar issues w/ certificate validation.
hope that helps!
Relevant content
- asked a year ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
I am also facing same problem, for mqtt connection to aws using ssl certificates. kindly help me to resolve this problem. Every connection this give error.