简体   繁体   中英

Truststore in AWS IoT java client?

In the documentation for the python client for AWS Iot it is very straight forward how to specify the truststore but how do I do the same with the java client?

myMQTTClient.configureCredentials("YOUR/ROOT/CA/PATH", "PRIVATE/KEY/PATH", "CERTIFICATE/PATH")

Sources:

https://github.com/aws/aws-iot-device-sdk-python
https://github.com/aws/aws-iot-device-sdk-java

"The Iot Java SDK has rootCA pre encoded in the keystore so it does not need customer to provide that." Source: https://forums.aws.amazon.com/thread.jspa?threadID=247938

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM