- Newest
- Most votes
- Most comments
Hi Ac4289,
Where did you install Greengrass? What are the contents of /greengrass/certs?
Are there any messages in /greengrass/ggc/var/log/crash.log?
Thanks,
Keagen
Hi Keagen,
Thank you for checking!
I install Greengrass under /home/nvidia/greengrass.
Here are the contents in certs folder:
$ ls
6c6e554fbc.cert.pem 6c6e554fbc.public.key root.ca.pem 6c6e554fbc.private.key README
And here is the crash.log:
Error occured while generating TLS config: open /greengrass/certs/root.ca.pem: no such file or directory
The Greengrass daemon process with [pid = 6333] died
Edited by: ac4289 on Jan 4, 2019 9:11 AM
Hi Ac4289,
You'll need to modify your config.json file to list the correct paths for all your certs. It looks like your certs are in /home/nvidia/greengrass/certs
Thanks,
Keagen
I had the same issue & I solved it using
{
"coreThing" : {
"caPath" : "root.ca.pem",
"certPath" : "45d9a43e88.cert.pem",
"keyPath" : "45d9a43e88.private.key",
"thingArn" : "arn:aws:iot:us-east-1:934217359568:thing/GG_FirstProject_Core",
"iotHost" : "a3rw3vn9ktjnsh-ats.iot.us-east-1.amazonaws.com",
"ggHost" : "greengrass-ats.iot.us-east-1.amazonaws.com",
"keepAlive" : 600
},
"runtime" : {
"cgroup" : {
"useSystemd" : "yes"
}
},
"managedRespawn" : false,
"crypto" : {
"principals" : {
"SecretsManager" : {
"privateKeyPath" : "file://certs/45d9a43e88.private.key"
},
"IoTCertificate" : {
"privateKeyPath" : "file://certs/45d9a43e88.private.key",
"certificatePath" : "file://certs/45d9a43e88.cert.pem"
}
},
"caPath" : "file://certs/root.ca.pem"
}
}
Relevant content
- asked 3 years ago
- asked 5 years ago
- asked 8 days ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago