From 4606adae6c3fde132b736fcb2887c22eaf11cc05 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Sat, 4 Jun 2016 12:13:56 -0700 Subject: [PATCH] Re-ups the snake oil certs for the unit tests. Ref #979 for a link to the blog with the commands to use :-) --- test/ca/certindex | 1 + test/ca/serialfile | 2 +- test/key/ourdomain.cer | 37 +++++++++++++++++++------------------ test/key/ourdomain.csr | 21 +++++++++++---------- test/key/ourdomain.key | 26 +++++++++++++------------- 5 files changed, 45 insertions(+), 42 deletions(-) diff --git a/test/ca/certindex b/test/ca/certindex index 08a4bc9ad9..e3abd88b0a 100644 --- a/test/ca/certindex +++ b/test/ca/certindex @@ -2,3 +2,4 @@ V 150407190456Z 0A unknown /CN=testco.internal/ST=California/C=US/emailAddress= V 150407194146Z 0B unknown /CN=testco.internal/ST=California/C=US/emailAddress=test@testco.com/O=TestCo/OU=Beta V 150526223338Z 0C unknown /CN=*.testco.internal/ST=California/C=US/emailAddress=test@testco.com/O=TestCo/OU=Beta V 160526220537Z 0D unknown /CN=test.internal/ST=CA/C=US/emailAddress=test@internal.com/O=HashiCorp Test Cert/OU=Dev +V 170604185910Z 0E unknown /CN=testco.internal/ST=California/C=US/emailAddress=test@testco.com/O=Hashicorp Test Cert/OU=Beta diff --git a/test/ca/serialfile b/test/ca/serialfile index ff470b05e5..0ced2f35eb 100644 --- a/test/ca/serialfile +++ b/test/ca/serialfile @@ -1 +1 @@ -0E +0F diff --git a/test/key/ourdomain.cer b/test/key/ourdomain.cer index 84a43bd64a..447cd37108 100644 --- a/test/key/ourdomain.cer +++ b/test/key/ourdomain.cer @@ -1,22 +1,23 @@ -----BEGIN CERTIFICATE----- -MIIDujCCAqKgAwIBAgIBDTANBgkqhkiG9w0BAQUFADCBmDELMAkGA1UEBhMCVVMx +MIIDwzCCAqugAwIBAgIBDjANBgkqhkiG9w0BAQUFADCBmDELMAkGA1UEBhMCVVMx CzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1TYW4gRnJhbmNpc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xpxAV9JuR9izBIs7afP75MvjjuveLgIpyNzbdCt9/71WQY3Wt0epYRWLD +DGeP4zEBR6KMu3vILWX3kRlpvX1OcfqvcRpzpNRDmpzzMwOHQBtBp3/7lf43yGLg +ZxWuUzWCN5RXZZHhsSNqlplXjcyCEyAPTxiE0hbAKhAJeWjadnUJ88SC41bGjDor +FU3JVe6aqw== -----END CERTIFICATE----- diff --git a/test/key/ourdomain.csr b/test/key/ourdomain.csr index 5da7d6ae55..149827cb3f 100644 --- a/test/key/ourdomain.csr +++ b/test/key/ourdomain.csr @@ -1,12 +1,13 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIB2TCCAUICAQAwgZgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UE -BxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTSGFzaGlDb3JwIFRlc3QgQ2VydDEM -MAoGA1UECxMDRGV2MRYwFAYDVQQDEw10ZXN0LmludGVybmFsMSAwHgYJKoZIhvcN -AQkBFhF0ZXN0QGludGVybmFsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC -gYEAr66LvaDvyeOvqjYSaZbSVevMNykzFkouY7NFJvXwlwozh7xpCQO6oiDyn2xp -VwVkfghZrotCIb4KURp+I6N91qEpksLmWcp3rkvZNPF1OaarfOhVilh/BTDIGhpX -9OFMovqqtnhMQpcN3kwePPV5CH2nb0Ki5y4IS8/QYpU2VjUCAwEAAaAAMA0GCSqG -SIb3DQEBBQUAA4GBAK7eNcgM/DLtSh+6CqntHMT0mQ5PZB3xjsDQ1qMo2OHPbISI -7ULzCRpYLmvD5fgypjlEf8GT5+H9bXrJT14hlUG8FYRr3vx+9LNjA2Tp/JsLQEM+ -zzfF59JvVcsViQ/vqw17uk3ODvjToQDnNj7S6DB1Y3PhRf9wmdZFn1vVR5by +MIIB4DCCAUkCAQAwgZ8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlh +MRQwEgYDVQQHEwtMb3MgQW5nZWxlczEcMBoGA1UEChMTSGFzaGljb3JwIFRlc3Qg +Q2VydDENMAsGA1UECxMEQmV0YTEYMBYGA1UEAxMPdGVzdGNvLmludGVybmFsMR4w +HAYJKoZIhvcNAQkBFg90ZXN0QHRlc3Rjby5jb20wgZ8wDQYJKoZIhvcNAQEBBQAD +gY0AMIGJAoGBAMzQosGiISdural85sAfqCc7LaeNV/MoKbMsAjsxLh4A/g3JNgiz +oZSR5qjt27B37/O4Nx7XSWhdbTtT0KnR8aSUt78qIFLj/Isuqx4JBrRMVoLEcSC7 +W6X88htUbU4DuKYO7jpQntaeaAzZx49WE4JobUaQdMdOeA3Ur4ylR2OVAgMBAAGg +ADANBgkqhkiG9w0BAQUFAAOBgQBvz0CFO6td/cc6MzyWXNgfiYqdvDvq9JoEvROS +CG6ZsOAJc15ePw9px4wYK2fQZQVZkSWl0vpIZNnIWAdQboAKAQmfnE6CPHc+5ePJ +LxFIL2vG/4UYnKdbR2dxSpNxyfF59tXwVDS6qeietaZz596F2D3cBwBflxJcK2nD +JkTOOA== -----END CERTIFICATE REQUEST----- diff --git a/test/key/ourdomain.key b/test/key/ourdomain.key index 105bb59723..9e033369e9 100644 --- a/test/key/ourdomain.key +++ b/test/key/ourdomain.key @@ -1,15 +1,15 @@ -----BEGIN RSA PRIVATE KEY----- -MIICWwIBAAKBgQCvrou9oO/J46+qNhJpltJV68w3KTMWSi5js0Um9fCXCjOHvGkJ -A7qiIPKfbGlXBWR+CFmui0IhvgpRGn4jo33WoSmSwuZZyneuS9k08XU5pqt86FWK -WH8FMMgaGlf04Uyi+qq2eExClw3eTB489XkIfadvQqLnLghLz9BilTZWNQIDAQAB -AoGAZLDL0uG8zZ+7/PiE0RPqdehx4WOxriLSN7518gCf5lGoezGXmd0TSP1NUeZW -8dNbZ4jtrcaPHrvHOfjPNynrYvdWUaa7jetWsIAiiiL/zfw74sr+YieTMy0Rk2Mn -0URbHKmMYaqmvJb/pXHWJESACGcoo3hYAnnz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