Merge pull request #16 from ucloud/change_ufile_ca

change ufile ca
This commit is contained in:
ethanDu1 2020-02-12 16:20:50 +08:00 committed by GitHub
commit 8a54de3841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 57 deletions

View File

@ -51,65 +51,27 @@ static const char *iot_ca_crt = \
static const char *iot_https_ca_crt = \
{
"-----BEGIN CERTIFICATE-----\r\n"
"MIIFlTCCBH2gAwIBAgIQDaPkQo/2q3qn5J5qQPDu0jANBgkqhkiG9w0BAQsFADBy\r\n"
"MQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywg\r\n"
"SW5jLjEdMBsGA1UECxMURG9tYWluIFZhbGlkYXRlZCBTU0wxHTAbBgNVBAMTFFRy\r\n"
"dXN0QXNpYSBUTFMgUlNBIENBMB4XDTE4MDgyMTAwMDAwMFoXDTE5MTExOTEyMDAw\r\n"
"MFowHzEdMBsGA1UEAwwUKi5jbi1zaDIudWZpbGVvcy5jb20wggEiMA0GCSqGSIb3\r\n"
"DQEBAQUAA4IBDwAwggEKAoIBAQCag2wjy4p9TmCn+4ctlNW4nAfRoiOGvlplH6qy\r\n"
"fol68e9zPFdocAbi6lKfOtUdDPJ0TBhrefwFvK/oUr/wWUmCBoQdjmeFlKc5cidU\r\n"
"h186OrXdDgh5n28tsgDMkUuniKXsvD46Z5ibGKmjgQufTvOrvZprOI2zGpYvLKb+\r\n"
"naxSNAiL3Nc5+jqFTVEKdzooYMNEn3dz0QIkVafWjK6sW6Q0poBzRcIQzyCkkqUA\r\n"
"0hp5w6kGFqg/W3QyNAXpdcpWwSfEhZr8e4e+v4mkYmm0LyS5p5WEsiAYPizdRFD3\r\n"
"3llpF2S0NcNAV2jMobnu5TaoniRH9CbRgHFlHTtmn+QI5AWxAgMBAAGjggJ4MIIC\r\n"
"dDAfBgNVHSMEGDAWgBR/05nzoEcOMQBWViKOt8ye3coBijAdBgNVHQ4EFgQU0Bcs\r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