From 321b98c9be0053048958577cc80dcebcb8dd83f6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 27 Oct 2016 21:26:05 +0100 Subject: [PATCH] Add self-signed SSL certificates and keys for testing --- test/data_bags/ssl/certs.json | 84 +++++++++++++++++++++++++++++++++ test/data_bags/ssl/keys.json | 89 ++++++++++++++++++++++++++++++++--- 2 files changed, 166 insertions(+), 7 deletions(-) create mode 100644 test/data_bags/ssl/certs.json diff --git a/test/data_bags/ssl/certs.json b/test/data_bags/ssl/certs.json new file mode 100644 index 000000000..185d4044a --- /dev/null +++ b/test/data_bags/ssl/certs.json @@ -0,0 +1,84 @@ +{ + "id": "certs", + "openstreetmap": [ + "-----BEGIN CERTIFICATE-----", + "MIIDfDCCAmSgAwIBAgIJAP5hkPZ1/XiRMA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNV", + "BAMMEyoub3BlbnN0cmVldG1hcC5vcmcwHhcNMTYxMDI3MTk0MTI0WhcNMTcxMDI3", + "MTk0MTI0WjAeMRwwGgYDVQQDDBMqLm9wZW5zdHJlZXRtYXAub3JnMIIBIjANBgkq", + "hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxiRJEKu6u6vCiSRImNY9y+lEfsr8VuUH", + "M1BBsBIYZFRfQ+CAiddxO3Tpma/DMQbGGlquzpBhlilowYraD2iklMC9f2tG8M+D", + "WKZvx2QwKLmUtkzrdFH/GZXs8NKnvcsHMZc4zVLWQuW7jwacVEam7h2s0lBLmLQg", + "hQ3sSP3LrZNqnyLeRX73AGXko4PSfFGPAG6PmFVxub3knePoWW4W1k6JMT+IDajm", + "vWJw8Bo9SZnQwCC6ughfeQbwTE+V55MdnQb3y0MqpPkTz+sHsB02u2bio45KPXl/", + "jwuJzEpKuJB8hzTG7wRBj46a2mv0sifS3ZKHvu3PgOh++mK60XUPUQIDAQABo4G8", + "MIG5MB0GA1UdDgQWBBTkw5PoRzkp6m/JwzLyvFgzaUCPWzAfBgNVHSMEGDAWgBTk", + "w5PoRzkp6m/JwzLyvFgzaUCPWzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIFoDAxBgNV", + "HREEKjAoghMqLm9wZW5zdHJlZXRtYXAub3JnghFvcGVuc3RyZWV0bWFwLm9yZzAs", + "BglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwDQYJ", + "KoZIhvcNAQELBQADggEBACKOVRSvKdbcP34Pq8M+782c8Fyrjb5Zojrqw0l8OG5m", + "2sbJVlax+iPU1o0tNuthAGIW5Zs6VAO91mVnORdsEu4Lbradlyv5Q0E7/igIoUg/", + "fI44+hEvb8y1lSldV2ROgp1C4je3TJgpK7im9UWrCPeaTa386iKNHCb9hlBxSpKG", + "r0tFVUlDxmCUUxUFc1N5L/mIwGdHZdkn1ZcrekEAEqVNqDd05C6aGLGg5rIL+ve4", + "ZGG7YY+SjAR6065M6JXh6QWeFzsdpcM2H5VCgCnZAkr2t17awmTy/2mZLLT9BknB", + "/lovOxLS/8V7TGh1lW4Wvuk3qTbv0lEwhThaelZku1M=", + "-----END CERTIFICATE-----" + ], + "tile.openstreetmap": [ + "-----BEGIN CERTIFICATE-----", + "MIIDdDCCAlygAwIBAgIJALYLg3zZCvjnMA0GCSqGSIb3DQEBCwUAMCExHzAdBgNV", + "BAMMFnRpbGUub3BlbnN0cmVldG1hcC5vcmcwHhcNMTYxMDI3MjAyMTE2WhcNMTcx", + "MDI3MjAyMTE2WjAhMR8wHQYDVQQDDBZ0aWxlLm9wZW5zdHJlZXRtYXAub3JnMIIB", + "IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxkzDRGwUYbzZoHgqM6956pDg", + "8+PAAmVS7A4Ry+4NaJWwXh9tjH2HEPZcORzvn1R3urjcSH8UA1NssgGsqTfc+ghA", + "63o0CcyHz0OLilaGFCDMqxk+cXfPx8jbuJJQb54SDxzwznE84Bxc50UIc7E1YtwX", + "XJ+qopJmx69aOa6IqtN1zEfZqIVvDpFUpCxyXF2M46Jo4ubI8tHxlq3XpXz30Dhp", + "suOuyxHze22bswWeuYnQSBG4V1E2caczMoD5RZLGKJjbE78ta8Wgphh0UfZmjC5F", + "5kZnn1x1p5adIHCFklgQ+6oMM9w8yW13C7PVcAVaUnczIkTkBkLmvSN1vxvejQID", + "AQABo4GuMIGrMB0GA1UdDgQWBBTDscYkbOw8ov0EUreZ5idaubO5fTAfBgNVHSME", + "GDAWgBTDscYkbOw8ov0EUreZ5idaubO5fTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF", + "oDAjBgNVHREEHDAaghgqLnRpbGUub3BlbnN0cmVldG1hcC5vcmcwLAYJYIZIAYb4", + "QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMA0GCSqGSIb3DQEB", + "CwUAA4IBAQCehEDVnDZYGGnMLE5jyG2DL2AGAiKwJz7iALgxjuJoBt7+lxRuweCm", + "ybCDTEvzuizk1iAd9SClDAb79sDFt3M/tE1gCO/amqZCNzbp1pSrodWtkkgu5Ezo", + "iVUohjPR55GYPD2wk6Lpi6e3nJPj0MR8vCIvAuXPlDXJauhSkH01CeL6IScbP/CO", + "owWZDK7dauzMIJph9FCvlq/WqWjw5AwGlDXHnJJC69DHBepCoRJUlekc5YkTPG3k", + "Y1Qnt2eohMn4qj8jCNqB7jeEe6jUqtL6QbAKCnrNkPNe49+2X9bw0cJ+cq3LdNbK", + "3a7qLCz4i2etQeg7CgbOcDopYDR9VN//", + "-----END CERTIFICATE-----" + ], + "osmfoundation": [ + "-----BEGIN CERTIFICATE-----", + "MIIFnTCCBIWgAwIBAgIJAO8cDgXhkPseMA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNV", + "BAMMEyoub3NtZm91bmRhdGlvbi5vcmcwHhcNMTYxMDI3MjAyNDMzWhcNMTcxMDI3", + "MjAyNDMzWjAeMRwwGgYDVQQDDBMqLm9zbWZvdW5kYXRpb24ub3JnMIIBIjANBgkq", + "hkiG9w0BAQEF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nRoZW1h", + "cC5vcmeCECouc3dpdGNoMm9zbS5vcmeCDnN3aXRjaDJvc20uY29tghAqLnN3aXRj", + "aDJvc20uY29tghJvcGVuc3RyZWV0bWFwcy5vcmeCF2Jsb2cub3BlbnN0cmVldG1h", + "cHMub3JnghFvcGVuc3RyZWV0bWFwLmNvbYIWYmxvZy5vcGVuc3RyZWV0bWFwLmNv", + "bYIRKi5vcGVuZ2VvZGF0YS5vcmeCEW9wZW5zdHJlZXRtYXAubmV0ghZibG9nLm9w", + "ZW5zdHJlZXRtYXAubmV0MCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRl", + "ZCBDZXJ0aWZpY2F0ZTANBgkqhkiG9w0BAQsFAAOCAQEAh9lDsEqkJRFDvOS2aeOu", + "qhfHLaO0jHlW3A+NtWeqlSTE/mXR1Z1/OyaNpVdCVzqOHoIROqhx4dIshf1zDByL", + "QY5UK9Fgf8UHj1Rtgb2QVhp/U1+JgcIwuxv2rZzBpZxWB0lsMq9sMxggyDagVLX3", + "+bxzI/T6DHxZkjgCWLaL676b3EjMxEA9Xt/dLdaUWUatsNf88e/EmiweYXA7U0cH", + "im8V1C1NK5ImywUQHimj0EDY4SqDRk4/XuFtGNlw5dOOko6enj/5UGJNkhdjNxXi", + "IjKyCbyR4orZejgvaa40qE1KqcTMfr8zEteyaU+YoHz/PI4L3mpWZHO71LmNOZzD", + "PA==", + "-----END CERTIFICATE-----" + ] +} diff --git a/test/data_bags/ssl/keys.json b/test/data_bags/ssl/keys.json index fdc5266d9..70aa8f075 100644 --- a/test/data_bags/ssl/keys.json +++ b/test/data_bags/ssl/keys.json @@ -1,18 +1,93 @@ { "id": "keys", "openstreetmap": [ - "-----BEGIN RSA PRIVATE KEY-----", - "dummy", - "-----END RSA PRIVATE KEY-----" + "-----BEGIN PRIVATE KEY-----", + "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDGJEkQq7q7q8KJ", + "JEiY1j3L6UR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iOisOQKBgCcEqdNFWdxoKcFqFq1vx/XmSAL2cvw8VtOV+J/f3h1uKeAg1x+b", + "jhv30gjQMIvJ6XI6P0AvJA8VHtDwUaf+TVQxtvxjMJmzSPIXPz7dM1peI488FRCj", + "vQZbewiyDIfao63qpSjR2OitsEF2SD7L72Suprq5iMCbYulRMd/CmMs5AoGAYRIF", + "1mayjXzs/B7ZthkGaifauGdsQhx3Iyjs3wANGY8mcfKnpakweRSFshl8u2OfIAp+", + "zDJP5oQyzYEqYa5uTZcqk1zvV3zu9FG6MImlrRkOTmowwFSKdRguCuk/dXyxXXsB", + "eqmwAdLTOp9TmmQ8mOlRcB/DQbl5LyZp6Md3wdECgYEAwt9nkWNyPMmE+fvH1CIo", + "QaCHNwpwgJJaWhEmFDDAo5EmdubYRJxoCTXu23WdRyirgUSJyDosnP6AFH4v3EdQ", + "UQxGILC45wLtIgQwBnuJlxoYNtH6eNs0pE5y40V14w33WJNb/Lm20kxucG2ExKGT", + "bzsGR0Z2C4/TEiJQ3kiV1Ls=", + "-----END PRIVATE KEY-----" ], "tile.openstreetmap": [ - "-----BEGIN RSA PRIVATE KEY-----", - "dummy", - "-----END RSA PRIVATE KEY-----" + "-----BEGIN PRIVATE KEY-----", + "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDGTMNEbBRhvNmg", + "eCozr3nqkODz48ACZVLsDhHL7g1olbBeH22MfYcQ9lw5HO+fVHe6uNxIfxQDU2yy", + "AaypN9z6CEDrejQJzIfPQ4uKVoYUIMyrGT5xd8/HyNu4klBvnhIPHPDOcTzgHFzn", + "RQhzsTVi3Bdcn6qikmbHr1o5roiq03XMR9mohW8OkVSkLHJcXYzjomji5sjy0fGW", + "rdelfPfQOGmy467LEfN7bZuzBZ65idBIEbhXUTZxpzMygPlFksYomNsTvy1rxaCm", + "GHRR9maMLkXmRmefXHWnlp0gcIWSWBD7qgwz3DzJbXcLs9VwBVpSdzMiROQGQua9", + "I3W/G96NAgMBA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ZhK5RKF99+CPTzvlk1bVvWJQKBgE7SEg7ir4wx2g1mZ860", + "TovYFcnPGhO1V0r8+fcX10HhDJtGQoS8akVF0oKZ0hZgCa+ZVkWqvbP+IHnTsPdo", + "FVm1SwOk8OqT6dYj7TwEuAxuIjPe8TJkk87V34gBY8RXoiYRXoE3xGrKtLPvhmc2", + "JNsXGAdsHiQgk3ZUlXp35ujd", + "-----END PRIVATE KEY-----" ], "osmfoundation": [ "-----BEGIN PRIVATE KEY-----", - "dummy", + "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDKTXOzpEY8nnRi", + "Kynkk9eGT0AIcewBGawUBaXFOJcqVYqMvWz0Z0kaQoZSdDNaGGDpygcrnUnyW7kA", + "SXhmWjBKkz8X+XDvXJkt0g48nPwlEvdih7rbKWkeFOYfTEGgOSyuHs97tIhNuaxq", + "wWxaLhPOsZhVlyP3haMRelCVro7O/vm5VcUpZt52sO67e2xsRvgHbvU3xD8N/KSU", + "HhSLdmc75DnsKve65DHp1GCGWOXGvic5LNOfEsjZiwYMwjbtO+mgSF1XtrlwfuOq", + "jo78X1VwZqM/At5Tg1ErAwC+6ccHnuqc/Mgv9wo9t0yIRW6f1gByi8rjec5069BS", + "Hk84HajlAgMBAAECggEBAIIz/zerjxkM0tMr/LaFAL4M26WTzNWYdEwepmac2Y4B", + "qD6U3D8hCse/8Tu4ViSydA2EXcEQZrt5lUQ+BSO7AEG/K2h+vtUPv/bhrxAL6azi", + "3B2qRfUwXdtikAmsxsAcjEk0w01XEDMWQYYkH1ybM1xgqS7NK/TvKdjh5GOyCW/n", + "PkNvWm2eSgkvjq2Hcs4WpRG6hhAnElW1wlZ/BUMCAv3DLwYUCVWAsTlDdNwd/sY/", + "zn6CKdlHtQH38gipAVVAaoMB8hf177ICnyW9Fk8nXDfP704xc/Tfa2JQOVoMg2Ba", + "WRywc4pJ1ZnBkseh9fX+uhLfnDvWUFWQnYMYighXXrECgYEA6UKM/pazV2V4WNnG", + "XKtq82Xtc6j+K5VTYEMhLTk+4tmCqBTM6YtlhGcVphFUn32dKaAll8SLh8UVQgNt", + "2w/TyBXRsO4FwRqlN4DejeBHsg5ZqTEntF1bGVaJTd+08NyDTe3luUYU7DpyrcWq", + "FWWKHoIniIDYb+OuZwnyTlZnOKMCgYEA3gZMr2H5IbCpf4pSX7ZQgPmVwRkxm5Ac", + "tAmCKTh83TcCZkGugz1LzRVGvS2/JAFTjg47saw/QmF16VJ1GKcWtSwYsN5E0YqK", + "mHjaZDsbrAfWNqLpZsLW6cTqkGi/f2XAGn4jae91Z+oGa2IHXwGCMIm24QnJIknc", + "Kd9U7W44CNcCgYAaoF8p3JgCPPH86ncLMwIVYKg3UK4a2YPX9DHAUM2N5ZhViXJO", + "onvnHkFJYKcRQayECOThqyzmRagEjhGnNOpO57a1BKahgWIksNA2z8g/WgYAGz1W", + "CGYSwV8RBZ1I9VMDvUlA2fAfexiGH48nvByFGQRcP6D1PL82wdrn+FL2EwKBgDs/", + "sR0oZwRfkYvwjLTwASG5+QWzxHJADfjZhLudUGz0Lha9tmVdaSoMYHlBiP2BwRtq", + "nvF2BtefDIk8MPVoOX4Vi20/k1vbvcqcjaMrxuGsobSo2uJKYnG10+a/nULRE2e+", + "e5LcjRcy842adl8bFvP+/Cenpd4ZmcAu0goeXKO3AoGAbcE/5RZhh6rwUE+acE6T", + "miOKsQxeaygC6rT8dmXpux/akxaTXfm+8saoGruBvOnBhnWGjUb13cOeS+y4R1/B", + "+K4jmflbsHlWy/+Szi9NVpbU73npLPHZ6SSxv86mXcI/SJjyeCPupTFKIM5zQ5ow", + "5hE9mdgp+qG6byh1a2JiDos=", "-----END PRIVATE KEY-----" ] } -- 2.39.5