![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V.06 11/3
Dependencies: FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts
Fork of ATT_AWS_IoT_demo by
Diff: AWS_openssl/certs/certs.cpp
- Revision:
- 29:f71a0be59b99
- Parent:
- 28:54d9a550adf1
--- a/AWS_openssl/certs/certs.cpp Mon Oct 09 21:13:49 2017 +0000 +++ b/AWS_openssl/certs/certs.cpp Fri Nov 03 20:28:02 2017 +0000 @@ -1,6 +1,5 @@ #include "aws_iot_config.h" //#define PEMFORMAT - #define CARDFORMAT #ifdef PEMFORMAT @@ -41,6 +40,7 @@ // Device signed certificate (see AWS_IOT_ROOT_CA for format) //"MIIDWjCCAkKgAwIBAgIVAJJcu7y+bIT7+WczP+/xVVw6NHn9MA0GCSqGSIb3DQEB\n" +/* const unsigned char AWS_IOT_CERTIFICATE[] = "-----BEGIN CERTIFICATE-----\n" "MIIDWjCCAkKgAwIBAgIVAJJcu7y+bIT7+WczP+/xVVw6NHn9MA0GCSqGSIb3DQEB\n" "CwUAME0xSzBJBgNVBAsMQkFtYXpvbiBXZWIgU2VydmljZXMgTz1BbWF6b24uY29t\n" @@ -61,8 +61,21 @@ "MltbXuZcsw5EPGRtx98OD9Zp+x4Av1n3DtQhwRFASld9FuIoeXliHNaqtpaIS4Hb\n" "00CHGRBIOlF6ur7lOASOku8GoP6XdoGxBRh94Ua+lke3Avl2t69wU7zKTj3uCw==\n" "-----END CERTIFICATE-----\0"; +*/ +const unsigned char AWS_IOT_CERTIFICATE[] = "-----BEGIN CERTIFICATE-----\n" +"MIIBpDCCAUkCCQCZBxROIBl2LDAKBggqhkjOPQQDAjCBhzELMAkGA1UEBhMCVVMx\n" +"CzAJBgNVBAgMAlZBMQ8wDQYDVQQHDAZEdWxsZXMxDzANBgNVBAoMBkdETVNBSTEL\n" +"MAkGA1UECwwCTVMxFTATBgNVBAMMDEVyaWMgSm9obnNvbjElMCMGCSqGSIb3DQEJ\n" +"ARYWZXJpYy5qb2huc29uQGdpLWRlLmNvbTAeFw0xNzEwMTMwMDUzMzlaFw0xODEw\n" +"MTMwMDUzMzlaMCsxKTAnBgNVBAMMIDg5MDExNzAyMjc4MTI0MTY1MjQ2QGlvdC5h\n" +"dHQuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUB6Du5iIf+TZeG4/XnFc\n" +"ky6WLF0ArrfEUfc5zRDmvg/swQaTcLUFBPkimEv/hbpUs6czW5MXZ6/MyF5eTopj\n" +"pzAKBggqhkjOPQQDAgNJADBGAiEA673SIXvrYUwELGPyP7Ws82CzJ7QMCjI/RtYN\n" +"HfRm/tICIQDpO2Pq82nnN2FcdPyyjENOqCOSj/nwVQePWde0a9+Xqw==\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" "MIIEowIBAAKCAQEAuc9uhIZSiRmbSgOagmGRTve6D6xThjRJ7uOfRCq2WPWdRhTX\n" "xxosfFY9vx2pTxrgEiFqE4t0PSPTR5c3RfFx1XtdIO6/BGJFjDrSZZhMXPU5kAQj\n" @@ -90,6 +103,17 @@ "OWnUsCtpJIbesNdFjc20+z0PSfgHamqIQGbgY4rFvATXA0bJs0bhGOzptisjLa2u\n" "fddOwsIdxkViusil2aXED1lLxiDBGnWvho+F4VNv+z4iuZPcnD16\n" "-----END RSA PRIVATE KEY-----\0"; +*/ +const unsigned char AWS_IOT_PRIVATE_KEY[] = "-----BEGIN EC PARAMETERS-----\n" +"BggqhkjOPQMBBw==\n" +"-----END EC PARAMETERS-----\n" +"-----BEGIN EC PRIVATE KEY-----\n" +"MHcCAQEEIMxNzfnS8iENvp4L7G6cA2xA6TTzl+PEHDMKcV7gtwiVoAoGCCqGSM49\n" +"AwEHoUQDQgAEUB6Du5iIf+TZeG4/XnFcky6WLF0ArrfEUfc5zRDmvg/swQaTcLUF\n" +"BPkimEv/hbpUs6czW5MXZ6/MyF5eTopjpw==\n" +"-----END EC PRIVATE KEY-----\0"; + + #endif #ifdef DERFORMAT