how do i Create Keys And Certificate on android device using aws-iot-device-sdk-java-v2, we used to create that aws-iot-device-sdk-java-v1 #605
-
Hi Does anyone know how to create keys and Certificate on device, we were able to create the key and certificate like this in version 1 IOT SDK -
but now from version 2 IOT SDK few classes are not available and we are not able to create this information on device level, Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Sorry, but you can't create keys and certificates with this sdk. You would have to do that manually or with the aws cli. Please let me know if you have any questions about how to do this |
Beta Was this translation helpful? Give feedback.
-
I would also add: I don't know where you're getting the code snippet you've included, but the v1 Device SDK for Java does not include any of the types or APIs in the snippet. The v1 device SDK has never supported this. If I had to guess, I'd say you're confusing the AWS v1 SDK for Java and the IoT Device SDK for Java. |
Beta Was this translation helpful? Give feedback.
Sorry, but you can't create keys and certificates with this sdk. You would have to do that manually or with the aws cli. Please let me know if you have any questions about how to do this