Catie fork

Dependencies:   SDFileSystem X_NUCLEO_IKS01A1

Fork of ATT_AWS_IoT_demo by AT&T IoT

Committer:
peyo
Date:
Wed Apr 05 16:05:41 2017 +0000
Revision:
29:537df716ba0b
Parent:
28:a31312c9756d
Use IKS01A1 sensors

Who changed what in which revision?

UserRevisionLine numberNew 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)
peyo 28:a31312c9756d 36 const unsigned char AWS_IOT_CERTIFICATE[] = "-----BEGIN CERTIFICATE-----\n"
peyo 28:a31312c9756d 37 "MIIDWjCCAkKgAwIBAgIVAOn4dTBP/bwlNaVcmLzgeU+rFr0MMA0GCSqGSIb3DQEB\n"
peyo 28:a31312c9756d 38 "CwUAME0xSzBJBgNVBAsMQkFtYXpvbiBXZWIgU2VydmljZXMgTz1BbWF6b24uY29t\n"
peyo 28:a31312c9756d 39 "IEluYy4gTD1TZWF0dGxlIFNUPVdhc2hpbmd0b24gQz1VUzAeFw0xNzA0MDQxNDQ3\n"
peyo 28:a31312c9756d 40 "MDRaFw00OTEyMzEyMzU5NTlaMB4xHDAaBgNVBAMME0FXUyBJb1QgQ2VydGlmaWNh\n"
peyo 28:a31312c9756d 41 "dGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWxZ3iyoAPSlqqs9/R\n"
peyo 28:a31312c9756d 42 "DhrHNFjzcNRgrE2pe4lBRab1fnmTkB3Ng2OZ8rv+zNU43/JX8ugnxvUFVijkV1mb\n"
peyo 28:a31312c9756d 43 "Dru3/Z+lybNUHFvlHAoiiD6Am1SmgZipynDfv1k7Jh+7HO2IFBMzPjbpdjeGYqQE\n"
peyo 28:a31312c9756d 44 "OLyKAXVO0K00ABg5QLIv1cQQ6PQmTKs2hts9+Ra9RUrbxUFtyi2KwSBiqclqJg5T\n"
peyo 28:a31312c9756d 45 "i/P1H+GRtPDmQfB0AC3SnuW/2qQpuwgWDAZOPcvBqC9fbeuy1Q24g9bYSdZVIuKj\n"
peyo 28:a31312c9756d 46 "uVpW2eN64gEyeFGiJii+41QvwnHnkHl8G5CvMGtxckIhnm5fFhOJZV2oIp9J0cYH\n"
peyo 28:a31312c9756d 47 "DoIJAgMBAAGjYDBeMB8GA1UdIwQYMBaAFI29/T3kRHxnxqhdBVC/OgSMV8GVMB0G\n"
peyo 28:a31312c9756d 48 "A1UdDgQWBBSG2XvfsMkZApeGBhCS7vjZ4ItQgDAMBgNVHRMBAf8EAjAAMA4GA1Ud\n"
peyo 28:a31312c9756d 49 "DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAQEAa1CFDSgFIlElKYeBP+sQu9Rv\n"
peyo 28:a31312c9756d 50 "wY66+cXp62wkQNnm2PJ2pg80Qo1Uujbz9xjy0loF17ZAuIJSLAj6Ug0eJa/JPtsj\n"
peyo 28:a31312c9756d 51 "Hi88voG8OPQweEvvvP7nXqCjbtC8+pC5ZyCE7/mUTi5ToUCn3HX+hbzcpGIVfsnd\n"
peyo 28:a31312c9756d 52 "+tNW6Lk5jMx7O+MD8gPLv90r27pdCjRqdcwJOPLSN8MSq21iE+T0gAHs8zj5YtOo\n"
peyo 28:a31312c9756d 53 "9oqoHzCxNh5Eb9NBnn39vfEDhMqc2AVEr5ZqqhLOQP5tyILmewbhg0awnZ1sPKPo\n"
peyo 28:a31312c9756d 54 "FONS7lFUfDbIboSG7JCmXCdkoXJ2nLaTXYm7dAPjuNI/GGl9nZpQrLiFb1LZ4A==\n"
peyo 28:a31312c9756d 55 "-----END CERTIFICATE-----\0";
ampembeng 15:6f2798e45099 56
ampembeng 24:224c07ec3bd0 57 // Device private key (see AWS_IOT_ROOT_CA for format)
peyo 28:a31312c9756d 58 const unsigned char AWS_IOT_PRIVATE_KEY[] = "-----BEGIN RSA PRIVATE KEY-----\n"
peyo 28:a31312c9756d 59 "MIIEogIBAAKCAQEAlsWd4sqAD0paqrPf0Q4axzRY83DUYKxNqXuJQUWm9X55k5Ad\n"
peyo 28:a31312c9756d 60 "zYNjmfK7/szVON/yV/LoJ8b1BVYo5FdZmw67t/2fpcmzVBxb5RwKIog+gJtUpoGY\n"
peyo 28:a31312c9756d 61 "qcpw379ZOyYfuxztiBQTMz426XY3hmKkBDi8igF1TtCtNAAYOUCyL9XEEOj0Jkyr\n"
peyo 28:a31312c9756d 62 "NobbPfkWvUVK28VBbcotisEgYqnJaiYOU4vz9R/hkbTw5kHwdAAt0p7lv9qkKbsI\n"
peyo 28:a31312c9756d 63 "FgwGTj3LwagvX23rstUNuIPW2EnWVSLio7laVtnjeuIBMnhRoiYovuNUL8Jx55B5\n"
peyo 28:a31312c9756d 64 "fBuQrzBrcXJCIZ5uXxYTiWVdqCKfSdHGBw6CCQIDAQABAoIBAD/9eYgy1+0lapu+\n"
peyo 28:a31312c9756d 65 "ogSRTu4zGnmf7pNlLcT76IIqdLUGy8TEStHZrOE+82kuOGTeL3YCY2PWflGYgtx+\n"
peyo 28:a31312c9756d 66 "8knsE+IAI8zycUkGjD4OC4MifhyJUIEmyctuXz+nb9C52ofIvEuf8ZIzGo01nlVL\n"
peyo 28:a31312c9756d 67 "8j7UcbjE66vax1glniJWggnpWUCvZl2T20Zoq9MCFQ+upeFiKwVHBaGnqxNtYxxV\n"
peyo 28:a31312c9756d 68 "h9AKdqTKjAvEyriI33Rhr2IcJvJehZhgY//fsUJ0sfQ8Ya/NbNUdnbCx3ruVaQnU\n"
peyo 28:a31312c9756d 69 "2ymuJcbe1gU8M9jU6I82zokwyIsPSbLqxOl5J8cq9mZ68hW9cuxLYn4DBhjzRsoF\n"
peyo 28:a31312c9756d 70 "2hmtt40CgYEA3OtexIbWhaq7yPYm5pIr1GROO+2XQlgwcNJGagkPPvTcNC2K8MwD\n"
peyo 28:a31312c9756d 71 "xparDTVBbv9X78ldRbHC9BS3/6/CS51gZMXPnEt64V7zyuAu3arf3wtvumPvLyYZ\n"
peyo 28:a31312c9756d 72 "cTv+oDNvQAEJwdKd5ohjRiYNPEwebz+7CMO4SUWS6owcqQCuGTP54ecCgYEArrar\n"
peyo 28:a31312c9756d 73 "qecffB0l6E8+XotLbio9V19lHSPvsOoJvOyGPFkKit2LI/5qKDuySgFnblEPHbad\n"
peyo 28:a31312c9756d 74 "K01JzmbJZPGGjw4S+EOYlXlMXy7gi4YN+UwAdtJJ7iYRbl9OnolWMGa3+guoMnMr\n"
peyo 28:a31312c9756d 75 "nrPwFzaLzmSNrphfqKFfn6Ob7RX9z1xStsJ13o8CgYBkSbk4sBl8jpg2z3+zVhHt\n"
peyo 28:a31312c9756d 76 "lidpzx7GcHB1Fw/+HOS96Lx6N16Gl6bzJPy7vzxYHjSWVywvclYVJb6tpOUoHGZg\n"
peyo 28:a31312c9756d 77 "+OeZhS5gVxGHPKQp3uNIRtHOpIU1Oy97lwetRAwx2wbJ5UnnGG0wsB98CvYZ/K10\n"
peyo 28:a31312c9756d 78 "eh0TrjDWpwpvsi5WpKDAawKBgFWSbOPrqtUcZaux3GdsLEbJ839u3tR1/HkXOCvL\n"
peyo 28:a31312c9756d 79 "YTf/mJVJS1QW0SHhk0KCC4nRs+imv7YsxcCNQYjqbzB0AUCNwxc68PgRurM7tm5r\n"
peyo 28:a31312c9756d 80 "FjMcbk9xX8pCbfxiYc+VD/ktanVDSZMSqL6F3dX6FBb21KuAVpiXBtEJm2XL30ta\n"
peyo 28:a31312c9756d 81 "VWbrAoGAHCbhKihzRNxcgzCA1SWVMGDTBuW6BS429SrYJi24FxnYJ8uZJmEuliyM\n"
peyo 28:a31312c9756d 82 "TdjiRT69mII6YeQP4vYS0/T7c1WyV49dY5d1tz3PZxzHdHExXwFink15BLLrdgDA\n"
peyo 28:a31312c9756d 83 "7h2GJiRu/ASSPslBTMAg9iV6dUctZ9vEX4+gGMZ8iDt1jYJtTYo=\n"
peyo 28:a31312c9756d 84 "-----END RSA PRIVATE KEY-----\0";