AWS IoT demonstration using the Avnet Shield (AT&T LTE) and the FRDM-K64F target board.
Dependencies: K64F_FATFileSystem
Fork of mbed-os-example-tls-tls-client by
AWS_openssl/certs/certs.cpp@24:224c07ec3bd0, 2016-12-16 (annotated)
- Committer:
- ampembeng
- Date:
- Fri Dec 16 18:04:39 2016 +0000
- Revision:
- 24:224c07ec3bd0
- Parent:
- 15:6f2798e45099
Updates prior to full publish. README is updated and the shadow demo is setup to build by default and uses wireless/sd_card configuration.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ampembeng | 15:6f2798e45099 | 1 | #include "aws_iot_config.h" |
ampembeng | 15:6f2798e45099 | 2 | |
ampembeng | 15:6f2798e45099 | 3 | // The user needs to paste the AWS 'thing' certs into this file. |
ampembeng | 15:6f2798e45099 | 4 | // Root CA: |
ampembeng | 15:6f2798e45099 | 5 | // https://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem |
ampembeng | 15:6f2798e45099 | 6 | const unsigned char AWS_IOT_ROOT_CA[] = "-----BEGIN CERTIFICATE-----\n" |
ampembeng | 15:6f2798e45099 | 7 | "MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB\n" |
ampembeng | 15:6f2798e45099 | 8 | "yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL\n" |
ampembeng | 15:6f2798e45099 | 9 | "ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp\n" |
ampembeng | 15:6f2798e45099 | 10 | "U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW\n" |
ampembeng | 15:6f2798e45099 | 11 | "ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0\n" |
ampembeng | 15:6f2798e45099 | 12 | "aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL\n" |
ampembeng | 15:6f2798e45099 | 13 | "MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW\n" |
ampembeng | 15:6f2798e45099 | 14 | "ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln\n" |
ampembeng | 15:6f2798e45099 | 15 | "biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp\n" |
ampembeng | 15:6f2798e45099 | 16 | "U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y\n" |
ampembeng | 15:6f2798e45099 | 17 | "aXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvJAgIKXo1\n" |
ampembeng | 15:6f2798e45099 | 18 | "nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKzj/i5Vbex\n" |
ampembeng | 15:6f2798e45099 | 19 | "t0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIz\n" |
ampembeng | 15:6f2798e45099 | 20 | "SdhDY2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQG\n" |
ampembeng | 15:6f2798e45099 | 21 | "BO+QueQA5N06tRn/Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+\n" |
ampembeng | 15:6f2798e45099 | 22 | "rCpSx4/VBEnkjWNHiDxpg8v+R70rfk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/\n" |
ampembeng | 15:6f2798e45099 | 23 | "NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8E\n" |
ampembeng | 15:6f2798e45099 | 24 | "BAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAH\n" |
ampembeng | 15:6f2798e45099 | 25 | "BgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy\n" |
ampembeng | 15:6f2798e45099 | 26 | "aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKv\n" |
ampembeng | 15:6f2798e45099 | 27 | "MzEzMA0GCSqGSIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzE\n" |
ampembeng | 15:6f2798e45099 | 28 | "p6B4Eq1iDkVwZMXnl2YtmAl+X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y\n" |
ampembeng | 15:6f2798e45099 | 29 | "5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKEKQsTb47bDN0lAtukixlE0kF6BWlK\n" |
ampembeng | 15:6f2798e45099 | 30 | "WE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiCKm0oHw0LxOXnGiYZ\n" |
ampembeng | 15:6f2798e45099 | 31 | "4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N\n" |
ampembeng | 15:6f2798e45099 | 32 | "hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq\n" |
ampembeng | 15:6f2798e45099 | 33 | "-----END CERTIFICATE-----\0"; |
ampembeng | 15:6f2798e45099 | 34 | |
ampembeng | 24:224c07ec3bd0 | 35 | // Device signed certificate (see AWS_IOT_ROOT_CA for format) |
ampembeng | 15:6f2798e45099 | 36 | const unsigned char AWS_IOT_CERTIFICATE[] = "TODO"; |
ampembeng | 15:6f2798e45099 | 37 | |
ampembeng | 24:224c07ec3bd0 | 38 | // Device private key (see AWS_IOT_ROOT_CA for format) |
ampembeng | 15:6f2798e45099 | 39 | const unsigned char AWS_IOT_PRIVATE_KEY[] = "TODO"; |