Fix capi tests (generate expired certificates anew) 48/211248/1
authorKonrad Lipinski <k.lipinski2@samsung.com>
Tue, 30 Jul 2019 17:10:26 +0000 (19:10 +0200)
committerKonrad Lipinski <k.lipinski2@samsung.com>
Wed, 31 Jul 2019 10:36:57 +0000 (12:36 +0200)
Change-Id: Id94e35ae2840b63255aae7bb2266836691ad392d

tests/capi/common-res.cpp

index 6a4d86e..08c5f35 100644 (file)
@@ -159,97 +159,95 @@ std::string filipSigSHA256 =
 const TestData::SigComponents TestData::filipSHA1(filipCert, filipMes, filipSigSHA1);
 const TestData::SigComponents TestData::filipSHA256(filipCert, filipMes, filipSigSHA256);
 
+// generated using openssl 1.1 in a fresh bash in a fresh dir
+// copied *.pem in output order into the array after running:
+// CONSTANTS="-set_serial 0 -days $((($(date -d 9999/12/31 +%s) - $(date +%s) + 86399) / 86400))"; openssl req -x509 -subj '/C=KR/ST=Seoul/O=Samsung/OU=Tizen Test/CN=Test Root/emailAddress=tt@gmail.com' -addext 'authorityInfoAccess=OCSP;URI:http://127.0.0.1:8888,caIssuers;URI:http://SVRSecure-G3-aia.verisign.com/SVRSecureG3.cer' $CONSTANTS -newkey rsa:1024 -nodes -out root.pem -keyout root.key && openssl req -new -subj '/C=KR/ST=Seoul/O=Samsung/OU=Tizen Test/CN=Test Intermediate/emailAddress=tt@gmail.com' -newkey rsa:1024 -nodes -out intermediate.csr -keyout intermediate.key && openssl x509 -req -extfile <(echo 'authorityInfoAccess=OCSP;URI:http://127.0.0.1:8888,caIssuers;URI:http://SVRSecure-G3-aia.verisign.com/SVRSecureG3.cer'; echo 'basicConstraints=CA:true') $CONSTANTS -in intermediate.csr -CA root.pem -CAkey root.key -out intermediate.pem && openssl req -new -subj '/C=KR/ST=Seoul/O=Samsung/OU=Tizen Test/CN=Test Leaf/emailAddress=tt@gmail.com' -newkey rsa:1024 -nodes -out leaf.csr && openssl x509 -req -extfile <(echo 'authorityInfoAccess=OCSP;URI:http://127.0.0.1:8888,caIssuers;URI:http://SVRSecure-G3-aia.verisign.com/SVRSecureG3.cer'; echo 'basicConstraints=CA:false') $CONSTANTS -in leaf.csr -CA intermediate.pem -CAkey intermediate.key -out leaf.pem && echo -n 'Leaf ' && openssl x509 -in leaf.pem -text -noout && echo -n 'Intermediate ' && openssl x509 -in intermediate.pem -text -noout && echo -n 'Root ' && openssl x509 -in root.pem -text -noout && echo leaf.pem && cat leaf.pem && echo intermediate.pem && cat intermediate.pem && echo root.pem && cat root.pem
 std::string certChainArr[3] = {
-       "MIIDXTCCAsagAwIBAgIBAjANBgkqhkiG9w0BAQUFADB6MQswCQYDVQQGEwJLUjEO"
+       "MIIC7jCCAlegAwIBAgIBADANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJLUjEO"
        "MAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxEzARBgNVBAsMClRpemVu"
-       "IFRlc3QxFzAVBgNVBAMMDlRlc3QgU2Vjb25kIENBMRswGQYJKoZIhvcNAQkBFgx0"
-       "dEBnbWFpbC5jb20wHhcNMTQwNjE4MDgxMTA0WhcNMTUwNjE4MDgxMTA0WjB7MQsw"
-       "CQYDVQQGEwJLUjEOMAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxFzAV"
-       "BgNVBAsMDlRpemVuIFRlc3QgQUlBMRQwEgYDVQQDDAtUZXN0IFNpZ25lcjEbMBkG"
-       "CSqGSIb3DQEJARYMdHRAZ21haWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB"
-       "iQKBgQCwgKw+/71jWXnx4bLLZrTPmE+NrDfHSfZx8yTGYeewMzP6ZlXM8WduxNiq"
-       "pqm7G2XN182GEXsdoxwa09HtMVGqSGA/BCamD1Z6liHOEb4UTB3ROJ1lZDDkyJ9a"
-       "gZOfoZst/Aj8+bwV3x3ie+p4a2w/8eSsalrfef2gX6khaSsJOwIDAQABo4HxMIHu"
-       "MAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENl"
-       "cnRpZmljYXRlMB0GA1UdDgQWBBRL0nKiNUjzh1/LPvZoqLvnVfOZqjAfBgNVHSME"
-       "GDAWgBSpSfNbE0V2NHn/V5f660v2cWwYgDBzBggrBgEFBQcBAQRnMGUwIQYIKwYB"
-       "BQUHMAGGFWh0dHA6Ly8xMjcuMC4wLjE6ODg4ODBABggrBgEFBQcwAoY0aHR0cDov"
-       "L1NWUlNlY3VyZS1HMy1haWEudmVyaXNpZ24uY29tL1NWUlNlY3VyZUczLmNlcjAN"
-       "BgkqhkiG9w0BAQUFAAOBgQABP+yru9/2auZ4ekjV03WRg5Vq/rqmOHDruMNVbZ4H"
-       "4PBLRLSpC//OGahgEgUKe89BcB10lUi55D5YME3Do89I+hFugv0BPGaA201iLOhL"
-       "/0u0aVm1yJxNt1YjW2fMKqnCHgjoHzh0wQC1pIb5vxJrYCn3Pbhml7W6JPDDJHfm"
-       "XQ==",
+       "IFRlc3QxGjAYBgNVBAMMEVRlc3QgSW50ZXJtZWRpYXRlMRswGQYJKoZIhvcNAQkB"
+       "Fgx0dEBnbWFpbC5jb20wIBcNMTkwNzMwMTYzNTM2WhgPOTk5OTEyMzExNjM1MzZa"
+       "MHUxCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTZW91bDEQMA4GA1UECgwHU2Ftc3Vu"
+       "ZzETMBEGA1UECwwKVGl6ZW4gVGVzdDESMBAGA1UEAwwJVGVzdCBMZWFmMRswGQYJ"
+       "KoZIhvcNAQkBFgx0dEBnbWFpbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ"
+       "AoGBAMOxszN5ySGPlD8ZbGxAOM8jjdF+SVOjZn/nvs2csX8FksUBTQmdkM2M2F14"
+       "1VB/4d3EgLswVyeSg+yHf+DeuQR1WBpezoqttfi+v3hFQGUJ1/waa+ktFLTaNnlo"
+       "yrbJ9KXxBn9V3Qrs3PJt3xOJK4Kw1FXnneAmraZFmHFifBaPAgMBAAGjgYMwgYAw"
+       "cwYIKwYBBQUHAQEEZzBlMCEGCCsGAQUFBzABhhVodHRwOi8vMTI3LjAuMC4xOjg4"
+       "ODgwQAYIKwYBBQUHMAKGNGh0dHA6Ly9TVlJTZWN1cmUtRzMtYWlhLnZlcmlzaWdu"
+       "LmNvbS9TVlJTZWN1cmVHMy5jZXIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOB"
+       "gQCRXENZEGm/gCkDG18LahNiS4cjmTQ4f73NKNfhIZfsI2MBDHAfN9rULbJ3uMF+"
+       "jAmQ3ez86SC9BEMMeTXUl+mW4yUJq4dZRS4DAzExQjBRMwNK/BsAqsS49b7Q67Pq"
+       "cpUjMYn49z3eRbU0uiYU8Ptvwm19A/lwB7GG+yuw4a+Csw==",
 
-       "MIIDLzCCApigAwIBAgIBATANBgkqhkiG9w0BAQUFADB4MQswCQYDVQQGEwJLUjEO"
+       "MIIC8TCCAlqgAwIBAgIBADANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJLUjEO"
        "MAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxEzARBgNVBAsMClRpemVu"
-       "IFRlc3QxFTATBgNVBAMMDFRlc3QgUm9vdCBDQTEbMBkGCSqGSIb3DQEJARYMdHRA"
-       "Z21haWwuY29tMB4XDTE0MDYxODA4MTA1OVoXDTE1MDYxODA4MTA1OVowejELMAkG"
-       "A1UEBhMCS1IxDjAMBgNVBAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYD"
-       "VQQLDApUaXplbiBUZXN0MRcwFQYDVQQDDA5UZXN0IFNlY29uZCBDQTEbMBkGCSqG"
-       "SIb3DQEJARYMdHRAZ21haWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB"
-       "gQDLJrMAF/JzxIIrQzQ/3FGt7cGAUEYaEFSo+hcDKYRXaZC33/kkVANYFh+log9e"
-       "MJUUlt0TBOg79tOnS/5MBwWaVLEOLalv0Uj2FfjEMpGd/xEF6Vv34mSTcWadMHyD"
-       "wYwDZVwdFkrvOkA6WwgwS8XSrpbH/nkKUkKpk+YYljKEzQIDAQABo4HGMIHDMB0G"
-       "A1UdDgQWBBSpSfNbE0V2NHn/V5f660v2cWwYgDAfBgNVHSMEGDAWgBRkHk9Lnhgv"
-       "vOIwxHOma54FGt8SCDAMBgNVHRMEBTADAQH/MHMGCCsGAQUFBwEBBGcwZTAhBggr"
-       "BgEFBQcwAYYVaHR0cDovLzEyNy4wLjAuMTo4ODg4MEAGCCsGAQUFBzAChjRodHRw"
-       "Oi8vU1ZSU2VjdXJlLUczLWFpYS52ZXJpc2lnbi5jb20vU1ZSU2VjdXJlRzMuY2Vy"
-       "MA0GCSqGSIb3DQEBBQUAA4GBAFonDQzs/Ts1sEDW3f5EmuKVZlpH9sLstSLJxZK8"
-       "+v88Jbz451/Lf8hxvnMv3MwExXr9qPKPlvKRfj+bbLB5KTEcZ5zhDpJ7SDYesdUd"
-       "RKOMSN0JIRL3JOCdYHOnJk6o+45vZ/TNv0lsiK90vxH2jo2EXnNG+jeyBGwp+3H6"
-       "RWHw",
+       "IFRlc3QxEjAQBgNVBAMMCVRlc3QgUm9vdDEbMBkGCSqGSIb3DQEJARYMdHRAZ21h"
+       "aWwuY29tMCAXDTE5MDczMDE2MzUzNloYDzk5OTkxMjMxMTYzNTM2WjB9MQswCQYD"
+       "VQQGEwJLUjEOMAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxEzARBgNV"
+       "BAsMClRpemVuIFRlc3QxGjAYBgNVBAMMEVRlc3QgSW50ZXJtZWRpYXRlMRswGQYJ"
+       "KoZIhvcNAQkBFgx0dEBnbWFpbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ"
+       "AoGBAMzg0Se3DowZZv5CYQiQm6d5x0dBH91PmSViCG51dvtZuImvTqfIecldmu+R"
+       "iE53HmZ34iZMgnuUogldfgQwzF+zFylE6ArcNlAngfUwNTHmkL4nsJumGryivKCD"
+       "9Y7zCKn06IpWEZNL+RSg3EzA8H8JQqUKIKQjmG8AZyCv5CajAgMBAAGjgYYwgYMw"
+       "cwYIKwYBBQUHAQEEZzBlMCEGCCsGAQUFBzABhhVodHRwOi8vMTI3LjAuMC4xOjg4"
+       "ODgwQAYIKwYBBQUHMAKGNGh0dHA6Ly9TVlJTZWN1cmUtRzMtYWlhLnZlcmlzaWdu"
+       "LmNvbS9TVlJTZWN1cmVHMy5jZXIwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsF"
+       "AAOBgQCq/GBooIDdgQtaCL+U3hO/IpiwtEmYyVcEvhGssI06/zjXS58yTBnAplrf"
+       "iOMNHWqWNijYgLNltzTZvuyklEeixWB1HS2V3RQlNW2+WaK5AW2ayEWfMP6PXhmP"
+       "RALb9bblq3VK0TgyF/XaK4VuwpdjyvZuUpJa82VEsWocpsZJvQ==",
 
-       "MIIDLTCCApagAwIBAgIBADANBgkqhkiG9w0BAQUFADB4MQswCQYDVQQGEwJLUjEO"
+       "MIIDLDCCApWgAwIBAgIBADANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJLUjEO"
        "MAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxEzARBgNVBAsMClRpemVu"
-       "IFRlc3QxFTATBgNVBAMMDFRlc3QgUm9vdCBDQTEbMBkGCSqGSIb3DQEJARYMdHRA"
-       "Z21haWwuY29tMB4XDTE0MDYxODA4MTA1MVoXDTE1MDYxODA4MTA1MVoweDELMAkG"
-       "A1UEBhMCS1IxDjAMBgNVBAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYD"
-       "VQQLDApUaXplbiBUZXN0MRUwEwYDVQQDDAxUZXN0IFJvb3QgQ0ExGzAZBgkqhkiG"
-       "9w0BCQEWDHR0QGdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA"
-       "o6ZegsQ9hScM1yD7ejv44xUTJDjTlcGweHh76Im22x6yAljM2+dKdj3EIVGt0BA3"
-       "6qdZFl8WOxzQGcAzQY7GFOXQVog4UjqHMxmWwAx5jQyBzIieAj4HZ2lquPBiyiIe"
-       "HAo6sCSWsxnh7PqvWaAypPZVEqOJ3ga5rXyDCcjzQ8ECAwEAAaOBxjCBwzAdBgNV"
-       "HQ4EFgQUZB5PS54YL7ziMMRzpmueBRrfEggwHwYDVR0jBBgwFoAUZB5PS54YL7zi"
-       "MMRzpmueBRrfEggwDAYDVR0TBAUwAwEB/zBzBggrBgEFBQcBAQRnMGUwIQYIKwYB"
-       "BQUHMAGGFWh0dHA6Ly8xMjcuMC4wLjE6ODg4ODBABggrBgEFBQcwAoY0aHR0cDov"
-       "L1NWUlNlY3VyZS1HMy1haWEudmVyaXNpZ24uY29tL1NWUlNlY3VyZUczLmNlcjAN"
-       "BgkqhkiG9w0BAQUFAAOBgQAyRJXTZcwRCkRNGZQCO8txHvrmgv8vQwnZZF6SwyY/"
-       "Bry0fmlehtN52NLjjPEG6u9YFYfzSkjQlVR0qfQ2mNs3d6AKFlOdZOT6cuEIZuKe"
-       "pDb2Tx5JJbIN6N3fE/lVSW88K9aSCF2n15gYTSVmD0juHuLAoWnIicaa+Sbe2Tsj"
-       "AQ=="
+       "IFRlc3QxEjAQBgNVBAMMCVRlc3QgUm9vdDEbMBkGCSqGSIb3DQEJARYMdHRAZ21h"
+       "aWwuY29tMCAXDTE5MDczMDE2MzUzNloYDzk5OTkxMjMxMTYzNTM2WjB1MQswCQYD"
+       "VQQGEwJLUjEOMAwGA1UECAwFU2VvdWwxEDAOBgNVBAoMB1NhbXN1bmcxEzARBgNV"
+       "BAsMClRpemVuIFRlc3QxEjAQBgNVBAMMCVRlc3QgUm9vdDEbMBkGCSqGSIb3DQEJ"
+       "ARYMdHRAZ21haWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEJJ/J"
+       "BHfN0gCcy5aAFSnii6aG/ZeJ2X7XgE+UgBo2TQogu86gmvoZOV3tFeXS1IhbKOCA"
+       "ltFHdScKJbT2/SJsaZV/qnZZT7hZGcADsE5irTJrFlEACF9n3OwWsZs/wj3Ky+un"
+       "IW99pSAw59ExadpbMVFmCcPy0qFQqHT3PVIRTwIDAQABo4HJMIHGMB0GA1UdDgQW"
+       "BBTljmbNggTWx86F7hh44l7LvHRC6zAfBgNVHSMEGDAWgBTljmbNggTWx86F7hh4"
+       "4l7LvHRC6zAPBgNVHRMBAf8EBTADAQH/MHMGCCsGAQUFBwEBBGcwZTAhBggrBgEF"
+       "BQcwAYYVaHR0cDovLzEyNy4wLjAuMTo4ODg4MEAGCCsGAQUFBzAChjRodHRwOi8v"
+       "U1ZSU2VjdXJlLUczLWFpYS52ZXJpc2lnbi5jb20vU1ZSU2VjdXJlRzMuY2VyMA0G"
+       "CSqGSIb3DQEBCwUAA4GBAFhscgUGyVoqFzpgYlzQHS/GI8r8mKpGvPfWJhnGDN4r"
+       "D2xHiNMgXhK5LTL44cCMIqMRDH6Yzl40zg8rT8oveTZwvULEReYLGK3YOEOn7uqJ"
+       "e2km+nx8pSCCd9Kf8rzBw6RnTsfNFNiC51pNnH+Y5DB5fhMF+5glSeNhrY8q7s9l"
 };
 std::vector<std::string> TestData::certChain(certChainArr, certChainArr + 3);
 
+// generated using openssl 1.1 in a fresh bash in a fresh dir
+// copied *.pem in output order into the array after running:
+// CONSTANTS="-set_serial 0 -days $((($(date -d 9999/12/31 +%s) - $(date +%s) + 86399) / 86400))"; openssl req -new -subj '/C=KR/ST=Seoul/O=Samsung/OU=Tizen Test/CN=Test Root/emailAddress=tt@gmail.com' $CONSTANTS -newkey rsa:1024 -nodes -out root.csr -keyout root.key && openssl x509 -req $CONSTANTS -in root.csr -signkey root.key -out root.pem && openssl req -new -subj '/C=KR/ST=Seoul/O=Samsung/OU=Tizen Test/CN=Test Leaf/emailAddress=tt@gmail.com' -newkey rsa:1024 -nodes -out leaf.csr && openssl x509 -req $CONSTANTS -in leaf.csr -CA root.pem -CAkey root.key -out leaf.pem && echo -n 'Leaf ' && openssl x509 -in leaf.pem -text -noout && echo -n 'Root ' && openssl x509 -in root.pem -text -noout && echo leaf.pem && cat leaf.pem && echo root.pem && cat root.pem
 std::string certChainSelfSignedArr[2] = {
-       "MIICdzCCAeACAQcwDQYJKoZIhvcNAQEFBQAwgYIxCzAJBgNVBAYTAktSMQ4wDAYD"
-       "VQQIDAVTZW91bDEQMA4GA1UECgwHU2Ftc3VuZzETMBEGA1UECwwKVGl6ZW4gVGVz"
-       "dDEfMB0GA1UEAwwWVGVzdCBSb290IENBIFZlcnNpb24gMTEbMBkGCSqGSIb3DQEJ"
-       "ARYMdHRAZ21haWwuY29tMB4XDTE0MDYxNDA4MTI1MFoXDTE1MDYxNDA4MTI1MFow"
-       "gYQxCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTZW91bDEQMA4GA1UECgwHU2Ftc3Vu"
-       "ZzETMBEGA1UECwwKVGl6ZW4gVGVzdDEhMB8GA1UEAwwYVGVzdCBTZWNvbmQgQ0Eg"
-       "VmVyc2lvbiAxMRswGQYJKoZIhvcNAQkBFgx0dEBnbWFpbC5jb20wgZ8wDQYJKoZI"
-       "hvcNAQEBBQADgY0AMIGJAoGBAKOqFNxvO2jYcq5kqVehHH5k1D1dYwhBnH/SReWE"
-       "OTSbH+3lbaKhJQHPHjsndENUxPInF6r0prO3TqoMB6774Pmc+znoVfLsHvWorhyr"
-       "8iQNyaSgVWt0+8L0FU8iReqr5BR6YcZpnVRCV9dAIcf6FIVGUGZhTs/NvZDzIc4T"
-       "9RrLAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAGDDvWhdMFg4GtDdytrK/GJ9TxX5F"
-       "9iA/8qCl0+JU1U7jUVIcX77AxeZGBtq02X+DtjEWqnepS1iYO2TUHZBKRRCB2+wF"
-       "ZsQ5XWngLSco+UvqUzMpWIQqslDXixWSR+Bef2S7iND3u8HJLjTncMcuJNpoXsFK"
-       "bUiLqMVGQCkGZMo=",
+       "MIICWzCCAcQCAQAwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCS1IxDjAMBgNV"
+       "BAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYDVQQLDApUaXplbiBUZXN0"
+       "MRIwEAYDVQQDDAlUZXN0IFJvb3QxGzAZBgkqhkiG9w0BCQEWDHR0QGdtYWlsLmNv"
+       "bTAgFw0xOTA3MzAxNzAyMDJaGA85OTk5MTIzMTE3MDIwMlowdTELMAkGA1UEBhMC"
+       "S1IxDjAMBgNVBAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYDVQQLDApU"
+       "aXplbiBUZXN0MRIwEAYDVQQDDAlUZXN0IExlYWYxGzAZBgkqhkiG9w0BCQEWDHR0"
+       "QGdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwtodyspCACpq"
+       "Wr/lD+tDk8smI3Si+eILqhUEAAcT+/UATEscaT1ugP9ifmd4BrPoXddllSxDMWtJ"
+       "Prio76cf/qdR3EnaRyAbTO7k/lrWlfxcfU91gP52HeIed1sLsr3EnKYXCbhul/Tl"
+       "bjtdilybznMjOlL9qSxFkMEkmaSfnHMCAwEAATANBgkqhkiG9w0BAQsFAAOBgQBB"
+       "qqSuQJD7jgos73qP84MUpcdrEnjchu80bsEsntQL6QtHpsNC4O5Ps+be+AB/ZVxw"
+       "+ApOuc84Y0aUhdzPLEuJmhqd3TnnD5ABnPKKVflBh5zEV0tSOrYsjXqZoqIpXk3q"
+       "KSK8uoxkd7sZvwP9BZqdbctPwL7iW9grkk01k/4hpQ==",
 
-       "MIICdTCCAd4CAQYwDQYJKoZIhvcNAQEFBQAwgYIxCzAJBgNVBAYTAktSMQ4wDAYD"
-       "VQQIDAVTZW91bDEQMA4GA1UECgwHU2Ftc3VuZzETMBEGA1UECwwKVGl6ZW4gVGVz"
-       "dDEfMB0GA1UEAwwWVGVzdCBSb290IENBIFZlcnNpb24gMTEbMBkGCSqGSIb3DQEJ"
-       "ARYMdHRAZ21haWwuY29tMB4XDTE0MDYxNDA4MTIzNVoXDTE1MDYxNDA4MTIzNVow"
-       "gYIxCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTZW91bDEQMA4GA1UECgwHU2Ftc3Vu"
-       "ZzETMBEGA1UECwwKVGl6ZW4gVGVzdDEfMB0GA1UEAwwWVGVzdCBSb290IENBIFZl"
-       "cnNpb24gMTEbMBkGCSqGSIb3DQEJARYMdHRAZ21haWwuY29tMIGfMA0GCSqGSIb3"
-       "DQEBAQUAA4GNADCBiQKBgQDtxGjhpaUK6xa4+sjMQfkKRAtjFkjZasVIt7uKUy/g"
-       "GcC5i5aoorfyX/NBQLAVoIHMogHLgitehKL5l13tLR7DSETrG9V3Yx9bkWRcjyqH"
-       "1TkD+NDOmhTtVuqIh4hrGKITlZK35hOh0IUEfYNNL8uq/11fVPpR3Yx97PT/j4w1"
-       "uwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAOHjfa7nbPKhqR0mGfsscPQZZAZzKq9y"
-       "ttdjTaNbnybzcJzcN3uwOdYKMf26Dn968nAPkukWe8j6GyMJ1C9LMAWqMn5hl0rI"
-       "x6mUBfKZrl33BKH4KTYOrt0vnHdrCM2TwMkwMZ5ja5bBnbNrfF4e0HIAMor4rnVP"
-       "WDSlESMMmtTm"
+       "MIICWzCCAcQCAQAwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCS1IxDjAMBgNV"
+       "BAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYDVQQLDApUaXplbiBUZXN0"
+       "MRIwEAYDVQQDDAlUZXN0IFJvb3QxGzAZBgkqhkiG9w0BCQEWDHR0QGdtYWlsLmNv"
+       "bTAgFw0xOTA3MzAxNzAyMDJaGA85OTk5MTIzMTE3MDIwMlowdTELMAkGA1UEBhMC"
+       "S1IxDjAMBgNVBAgMBVNlb3VsMRAwDgYDVQQKDAdTYW1zdW5nMRMwEQYDVQQLDApU"
+       "aXplbiBUZXN0MRIwEAYDVQQDDAlUZXN0IFJvb3QxGzAZBgkqhkiG9w0BCQEWDHR0"
+       "QGdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAu0QnlGIB0iX2"
+       "5f1gaYZAPIYd4AvOZDgcaGdoF0iVoeIUKb9she6BDicbD/e6xkIS3cgm+FYW06D6"
+       "2Rvq8RfN6DPNUeKd8+0rVwgakkML+QBozdZhVu850vK6wQPUioCjXqwJ3OV51IMG"
+       "XgviOoqrmKvhweTDIQDwfegKyNKWDssCAwEAATANBgkqhkiG9w0BAQsFAAOBgQBv"
+       "Tk/xy7dlOlt+bDcpSHUOWbr6xLkE7ARTYgv41YQqd2YbifKlTaj5toi/zF1qQQ8J"
+       "zVfpHC8ndRviQkem1YjShD9fLt7nBf3gRn75nqRXQqXGTQ0DO8xxt7Ns5IcViMyE"
+       "4uPVtyiSpfaeDsj+BUEx6FHky9+hE7KAux/4xrf58g=="
 };
 std::vector<std::string> TestData::certChainSelfSigned(certChainSelfSignedArr,
                certChainSelfSignedArr + 2);