@dkpkg/dk-lib-mqtt
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @dkpkg/dk-lib-mqtt

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

63.4 kB

Total Files

10

Last publish

Collaborators

  • dkpkg