Why is there no mutual authentication sample app for Python SDK? #504
-
Different from AWS IoT Device C SDK, python v2 SDK contains no mutual authentication sample code. The existing samples like "basic_connect", "PubSub" doesn't require CA certificate at all. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, what do you mean? https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/basic_connect.md#basic-connect
AWS IoT requires mutual TLS for connections, so the examples which connect to AWS IoT will always use mutual TLS. |
Beta Was this translation helpful? Give feedback.
-
AmazonRootCA1 is almost always already installed on the platforms you tend to run the device SDKs on, so the samples tend not to add it (but I think some of the older samples still do). Either way, it's a single line to also configure a root ca when configuring TLS. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
AmazonRootCA1 is almost always already installed on the platforms you tend to run the device SDKs on, so the samples tend not to add it (but I think some of the older samples still do). Either way, it's a single line to also configure a root ca when configuring TLS.