Catie fork
Dependencies: SDFileSystem X_NUCLEO_IKS01A1
Fork of ATT_AWS_IoT_demo by
AWS_openssl/certs/certs.cpp
- Committer:
- peyo
- Date:
- 2017-04-05
- Revision:
- 28:a31312c9756d
- Parent:
- 24:224c07ec3bd0
File content as of revision 28:a31312c9756d:
#include "aws_iot_config.h" // The user needs to paste the AWS 'thing' certs into this file. // Root CA: // https://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem const unsigned char AWS_IOT_ROOT_CA[] = "-----BEGIN CERTIFICATE-----\n" "MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB\n" "yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL\n" "ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp\n" "U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW\n" "ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0\n" "aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL\n" "MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW\n" "ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln\n" "biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp\n" "U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y\n" "aXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvJAgIKXo1\n" "nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKzj/i5Vbex\n" "t0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIz\n" "SdhDY2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQG\n" "BO+QueQA5N06tRn/Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+\n" "rCpSx4/VBEnkjWNHiDxpg8v+R70rfk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/\n" "NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8E\n" "BAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAH\n" "BgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy\n" "aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKv\n" "MzEzMA0GCSqGSIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzE\n" "p6B4Eq1iDkVwZMXnl2YtmAl+X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y\n" "5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKEKQsTb47bDN0lAtukixlE0kF6BWlK\n" "WE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiCKm0oHw0LxOXnGiYZ\n" "4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N\n" "hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq\n" "-----END CERTIFICATE-----\0"; // Device signed certificate (see AWS_IOT_ROOT_CA for format) const unsigned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HX+hbzcpGIVfsnd\n" "+tNW6Lk5jMx7O+MD8gPLv90r27pdCjRqdcwJOPLSN8MSq21iE+T0gAHs8zj5YtOo\n" "9oqoHzCxNh5Eb9NBnn39vfEDhMqc2AVEr5ZqqhLOQP5tyILmewbhg0awnZ1sPKPo\n" "FONS7lFUfDbIboSG7JCmXCdkoXJ2nLaTXYm7dAPjuNI/GGl9nZpQrLiFb1LZ4A==\n" "-----END CERTIFICATE-----\0"; // Device private key (see AWS_IOT_ROOT_CA for format) const unsigned char AWS_IOT_PRIVATE_KEY[] = "-----BEGIN RSA PRIVATE KEY-----\n" "MIIEogIBAAKCAQEAlsWd4sqAD0paqrPf0Q4axzRY83DUYKxNqXuJQUWm9X55k5Ad\n" "zYNjmfK7/szVON/yV/LoJ8b1BVYo5FdZmw67t/2fpcmzVBxb5RwKIog+gJtUpoGY\n" "qcpw379ZOyYfuxztiBQTMz426XY3hmKkBDi8igF1TtCtNAAYOUCyL9XEEOj0Jkyr\n" "NobbPfkWvUVK28VBbcotisEgYqnJaiYOU4vz9R/hkbTw5kHwdAAt0p7lv9qkKbsI\n" "FgwGTj3LwagvX23rstUNuIPW2EnWVSLio7laVtnjeuIBMnhRoiYovuNUL8Jx55B5\n" "fBuQrzBrcXJCIZ5uXxYTiWVdqCKfSdHGBw6CCQIDAQABAoIBAD/9eYgy1+0lapu+\n" "ogSRTu4zGnmf7pNlLcT76IIqdLUGy8TEStHZrOE+82kuOGTeL3YCY2PWflGYgtx+\n" "8knsE+IAI8zycUkGjD4OC4MifhyJUIEmyctuXz+nb9C52ofIvEuf8ZIzGo01nlVL\n" "8j7UcbjE66vax1glniJWggnpWUCvZl2T20Zoq9MCFQ+upeFiKwVHBaGnqxNtYxxV\n" "h9AKdqTKjAvEyriI33Rhr2IcJvJehZhgY//fsUJ0sfQ8Ya/NbNUdnbCx3ruVaQnU\n" "2ymuJcbe1gU8M9jU6I82zokwyIsPSbLqxOl5J8cq9mZ68hW9cuxLYn4DBhjzRsoF\n"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