app-functions-aws

command
v0.0.0-...-f445767 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

App-functions-aws

App-functions-aws is a sample provided to let the user send mqtt messages to Amazon AWS using SSL

Configuration

Client certificates (crt and key) can be copied in the folder certs

The address of the AWS host and the path to the certificates can be found in the configuration.toml:

[ApplicationSettings]

AwsIoTMQTTHost = "***.iot.us-west-2.amazonaws.com"

AwsIoTMQTTPort = "8883"

MQTTCert = "./certs/user.client.crt"

MQTTKey = "./certs/user.client.key"

SkipCertVerify = "false"

Important note

If SkipCertVerify is true, TLS accepts any certificate presented by the server and any host name in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks. This should be used only for testing. golang reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL