Closed adelgadorioja closed 4 years ago
Álvaro,
Can you please provide a crt log by adding the command line args: like the following -Daws.crt.log.destination=File -Daws.crt.log.level=Trace -Daws.crt.log.filename=basic_discovery.log
Feel free to pick a different filename path for the log file. It is unlikely that you need to specify the root CA, but I am not suggesting that is causing the error you're seeing.
Confirm by changing [ ] to [x] below:
Platform/OS/Hardware/Device IOS: Debian 9 Java: Openjdk version "1.8.0_242" Maven: Apache Maven 3.3.9
Describe the question Hi guys,
I'm trying to use Greengrass sample following this guide (the arguments change from the python version to the java version).
When I run the following command:
mvn exec:java -pl samples/Greengrass -Dexec.mainClass=greengrass.BasicDiscovery -Dexec.args='--region us-east-1 --rootca /path/root-ca-cert.pem --cert /path/hash-certificate.pem.crt --key /path/hash-private.pem.key --thingName test-device --topic "hello/world/pubsub" --mode publish'
This error appears:
Any idea why this might be happening?
Thank you all.