@ckstack/ck-lib-mqtt
v1.10.50
Published
ckstack file library
Downloads
15
Readme
File description
Certificate to access AWS IoT core mqtt broker.
After creating the AWS IoT Core mqtt broker, you can download the start kit program. Certificate samples automatically downloaded from AWS are added when this start kit (start.sh) is executed. In actual service, it should be changed to the certificate used.
Use curl to access it like this:
$ curl --tlsv1.2 \
--cacert cacert.development.crt \
--cert client.cert.development.pem \
--key client.private.development.key \
--request POST \
--data "{ \"message\": \"Hello, world\" }" \
"https://a-b.iot.ap-northeast-2.amazonaws.com:8443/topics/topic_2?qos=1"
- cacert.{development | production}.crt : CA Certificate. File created as root-CA.crt when aws iot start kit script is executed
- client.cert.{development | production}.pem : client cetificate. File created as .cert.pem when running aws iot start kit script
- client.private.{development | production}.key : private key. File created as .private.key when running aws iot start kit script