what use ca.pem file?
I follow X-LINUX-AWS Expansion Package guide.
Now 6.2 MQTT subscribe and publish test
but what use ca.pem file?
I use
Board $> cat /opt/greengrass/v2/work/aws.greengrass.clientdevices.Auth/ca.pem
GG_CORE_IP=192.168.7.1
PC cmd)
mosquitto_sub \
-h ${GG_CORE_IP} \
-p 8883 \
--cert device-client-1-certs/device.pem.crt \
--key device-client-1-certs/private.pem.key \
--cafile ca.pem \
-t "+/hello/world" \
-u ClientDevice1 \
-i ClientDevice1
Error: A TLS error occurred.
but error occurred.
thanks, reply.
