# # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" file accompanying this file. This file is distributed # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either # express or implied. See the License for the specific language governing # permissions and limitations under the License. # # TLS parameters tls: # Available at https://www.amazontrust.com/repository/AmazonRootCA1.pem ca_certs: path/to/AmazonRootCA1.pem # The certificate generated by the AWS IoT Core service certfile: path/to/a-certificate.pem # The private key generated by the AWS IoT Core service keyfile: path/to/a-private-key.pem # AWS IoT Core needs TLSv12 tls_version: 5 tls_insecure: false # Connection parameters connection: # YOU MUST CHANGE THIS ENDPOINT # Can be found by executing: aws iot describe-endpoint host: not-a-real-endpoint-please-use-your-own.us-west-2.amazonaws.com port: 8883 keepalive: 60 # MQTT parameters client: # User MQTT311 protocol: 4