From f31ebff0bb352ac62d3377214b58e111cfcb4398 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Tue, 6 Aug 2024 20:49:53 -0400 Subject: [PATCH] Fix github actions cockroachdb setup --- .github/workflows/test.yaml | 1 + .gitignore | 3 +++ Makefile | 21 +++++++++++++-- .../lib/core/services/cloud/configuration.ex | 8 +++++- test-certs/ca.crt | 19 ------------- test-certs/ca.key | 27 ------------------- test-certs/client.plrl.crt | 19 ------------- test-certs/client.plrl.key | 27 ------------------- test-certs/client.plural.crt | 19 ------------- test-certs/client.plural.key | 27 ------------------- test-certs/client.root.crt | 19 ------------- test-certs/client.root.key | 27 ------------------- test-certs/node.crt | 20 -------------- test-certs/node.key | 27 ------------------- 14 files changed, 30 insertions(+), 234 deletions(-) delete mode 100644 test-certs/ca.crt delete mode 100644 test-certs/ca.key delete mode 100644 test-certs/client.plrl.crt delete mode 100644 test-certs/client.plrl.key delete mode 100644 test-certs/client.plural.crt delete mode 100644 test-certs/client.plural.key delete mode 100644 test-certs/client.root.crt delete mode 100644 test-certs/client.root.key delete mode 100644 test-certs/node.crt delete mode 100644 test-certs/node.key diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1c2ee8a48..fbe87a7e8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -152,6 +152,7 @@ jobs: curl -sL 'https://github.com/pluralsh/plural-cli/releases/download/v0.5.18/plural-cli_0.5.18_Linux_amd64.tar.gz' | tar xzvf - chmod +x plural cp plural /usr/local/bin/plural + - run: make install-cockroach - run: make testup - name: Restore dependencies cache uses: actions/cache@v3 diff --git a/.gitignore b/.gitignore index 654e49ab9..e822bae81 100644 --- a/.gitignore +++ b/.gitignore @@ -67,4 +67,7 @@ yarn-error.log* cert.pem key.pem + +/test-certs/ + .vscode diff --git a/Makefile b/Makefile index 0a235a9d3..6627cf901 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ DKR_HOST ?= dkr.plural.sh dep ?= forge-core GIT_COMMIT ?= abe123 TARGETARCH ?= amd64 +COCKROACH_VSN ?= v24.1.3 help: @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @@ -48,11 +49,27 @@ else docker push $(DKR_HOST)/plural/${APP_NAME}:$(APP_VSN) endif -testup: ## sets up dependent services for test +install-cockroach: + sudo curl https://binaries.cockroachdb.com/cockroach-$(COCKROACH_VSN).linux-amd64.tgz | tar -xz && \ + sudo cp -i cockroach-$(COCKROACH_VSN).linux-amd64/cockroach /usr/local/bin/ && \ + sudo mkdir -p /usr/local/lib/cockroach && \ + sudo cp -i cockroach-$(COCKROACH_VSN).linux-amd64/lib/libgeos.so /usr/local/lib/cockroach/ && \ + sudo cp -i cockroach-$(COCKROACH_VSN).linux-amd64/lib/libgeos_c.so /usr/local/lib/cockroach/ && \ + cockroach version + +setup-certs: + mkdir test-certs && \ + cockroach cert create-ca --certs-dir test-certs --ca-key test-certs/ca.key && \ + cockroach cert create-node localhost 127.0.0.1 --certs-dir test-certs --ca-key test-certs/ca.key && \ + cockroach cert create-client root --certs-dir test-certs --ca-key test-certs/ca.key && \ + cockroach cert list --certs-dir test-certs + +testup: setup-certs ## sets up dependent services for test docker compose up -d testdown: ## tear down test dependencies - docker compose down + docker compose down && \ + rm -rf test-certs || echo 'no cert folder to remove' connectdb: ## proxies the db in kubernetes via kubectl @echo "run psql -U forge -h 127.0.0.1 forge to connect" diff --git a/apps/core/lib/core/services/cloud/configuration.ex b/apps/core/lib/core/services/cloud/configuration.ex index d4a60d957..74140670c 100644 --- a/apps/core/lib/core/services/cloud/configuration.ex +++ b/apps/core/lib/core/services/cloud/configuration.ex @@ -17,11 +17,17 @@ defmodule Core.Services.Cloud.Configuration do kas_private kas_redis )a) - |> Map.put(:postgres_url, build_pg_url(inst)) + |> Map.merge(%{ + postgres_url: build_pg_url(inst), + size: "#{size}", + postgres_certificate: certificate(inst) + }) |> Map.put(:size, "#{size}") |> Enum.map(fn {k, v} -> %{name: Macro.camelize("#{k}"), value: v} end) end + defp certificate(%ConsoleInstance{cockroach: %CockroachCluster{certificate: cert}}), do: cert + defp build_pg_url(%ConsoleInstance{ configuration: %{dbuser: u, dbpassword: p, database: database}, region: region, diff --git a/test-certs/ca.crt b/test-certs/ca.crt deleted file mode 100644 index ea2e4b09c..000000000 --- a/test-certs/ca.crt +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDJTCCAg2gAwIBAgIQcrxKxYw38+jYGFUlxCHoSDANBgkqhkiG9w0BAQsFADAr -MRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y -NDA4MDUyMDA4NDVaFw0zNDA4MTQyMDA4NDVaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj -aDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEArO18kE1tEOF2yZ6OIWXcD9FEE7vg/cWPZTnq8C1VCC2wQCB84naD -FgS/ic/PVFgxn6vr/LGN4BUo6P0TnrrvPVU83EyYrCrz8+ie/o4GIoR5NJpa6QBm -VgXNYGvYbA0H+TVeakCNlCy1SazCsUuWoe2tHimW8wfh/asogDzpmDfSLBeUEN0p -rXiuPoJldjOK9HolPF4SDmjJ0wEveFkEDNxB0KRJXxheRNHAS1hB1guYYGykxl3D -NWOIF3VNwE2u2VkiniKnTaEtoJk8HdE8H211FlkVmE7+40LX+2uE9kfpJL8GvRaG -sYDQafrl+a9C0m7lRKIZQkbyeElQXMqyhwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC -AuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUuhs6UvvhM2InE8Gr1Rjn -sCZ/DCEwDQYJKoZIhvcNAQELBQADggEBAEO2mg7wEBAOLqWlSfqE/f5+xtJRRgxu -I3TQeGe5zdxBDkFhekoyI6sX67ioL2n7wN/xYzE43lEMlf8nJ82NPJ62QtaHw7y9 -Vv9KpaL3T4onav7/8RPA+JGnGNLT9hCpSx8Pwr8Vk80FhTmtiLgELoQDLpat8RUd -MKI6nm4gcosa+0B5E7RSVCpwx3H3FtI9EmwdJUDVgN7FrxmaiMlZT3JtpzKy/+vL -tdZQBGDdmT0K/Nm+HJejvfAJYQ5gDgPK4txYYS+Y/xMbaK6onms5rQ/B0peJHpRx -6HFF1MsW5y3+QzwZxYPZ/MR5wtdY1SqUsfmEVRihAP5YZU/V4TZ51a4= ------END CERTIFICATE----- diff --git a/test-certs/ca.key b/test-certs/ca.key deleted file mode 100644 index bf2899bc0..000000000 --- a/test-certs/ca.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpQIBAAKCAQEArO18kE1tEOF2yZ6OIWXcD9FEE7vg/cWPZTnq8C1VCC2wQCB8 -4naDFgS/ic/PVFgxn6vr/LGN4BUo6P0TnrrvPVU83EyYrCrz8+ie/o4GIoR5NJpa -6QBmVgXNYGvYbA0H+TVeakCNlCy1SazCsUuWoe2tHimW8wfh/asogDzpmDfSLBeU -EN0prXiuPoJldjOK9HolPF4SDmjJ0wEveFkEDNxB0KRJXxheRNHAS1hB1guYYGyk -xl3DNWOIF3VNwE2u2VkiniKnTaEtoJk8HdE8H211FlkVmE7+40LX+2uE9kfpJL8G -vRaGsYDQafrl+a9C0m7lRKIZQkbyeElQXMqyhwIDAQABAoIBACcEcp2QirJLXOUC -/Gi2td9vxR96vbokkEUzuzmz0MLGpETjz6m9ObiHG7x5gfsy5wdy4A0k9rD/tTpU -l8+xt/cru06tjakTC/YVn4IqA2JYZ4yh4y89Ytm3923xB2Thz9G/4+yvYgJzz/eu -nkMonfUtTmlG0wNE3Q3CR6IfnEk2t9EvW0I7fV8q2cK6go/1tIakng3qKrYffZoT -CDnVILRf1TWF6/kxehhQ82E6/F6VzeDqIdpXVeP8V84JyVSByzv4VuJwoP2u/LoP -u1TLiZDdz3i1L2wa479aURTonJ5l4BKsstm0V1Rof3ke+Oht0lqt1jBJceKl0s9f -vSUHEWkCgYEA5OtpqjnOUUV+kOhPi/M9sJoPYixcJm1imRH1hFQPig/ANxniMknU -ATCHRoYY2UdoMbbpyzHnYgmlNgLJ8Ye10ln0b1iNIX4hKqh9KssC+eoKu/lckxBD -SLO37PBy1Sr5gFRtWL3sXTHxwRWET1CsVtxMkKsQ+wzJzyqcdBgX8h0CgYEAwWJr -HTagmy2CQumBjBlmwbYi3k2ebpNlT2Mu+xfeKhDEacVMZCOYEIbmHs62F7KpoCCR -rGdGBZCaH7HbTztKtDcsSAZQtyDi8gllmrlDbGRh8Czim6508Iq+alILaOHJY6mT -36Rbd6+WMdchW8pt4dMxtM2mM592tQCFbk2plfMCgYEAjMuNrbjoAGxxr8ZyRm1Q -n/HhTExkUO4uGl9FViItfIi7fChbSvrFfgXO7b1EQz78Arexi9whp9au2k1Uz0zc -s4fII0Ofad4doBMJCOzb48Hi4EI6gekauPhwQzaQKjPISPmkV1RYr+kr+8m0GuRP -Ww0buk68nuv6o4Rdvbmj4LECgYEAwVcWZESjWcGsBB3UqS8ULwNb5QmRJlgy56Xv -6JY6RbAxztW0xEFZ3Nwh4hckspirQi6NteIifZnOnXWCH7rVu0uV+ARoWk6E1xtR -+9jRceMCj88wWBmZTIxKR53zTk6+u+dksiluUUC5VucQsOa36RjvDyazzdTWJ6x3 -uonmzMUCgYEAu0ofZts1GphijdxoGReUNHsOJOz/FDvwQQ3mGvKa1Hm5oqDUmPos -OT4LlET0Hu8HTZbTsg4GJMCguerCtcd9vrioB/oHb+lQ6gMyIkeM5JbmOHa8iKIg -GfP09isaLqrFmMjoa1wIyMuG0OYHg9FBlm70+9Bm5yVc3SA+90vzmzw= ------END RSA PRIVATE KEY----- diff --git a/test-certs/client.plrl.crt b/test-certs/client.plrl.crt deleted file mode 100644 index c0e05956d..000000000 --- a/test-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ZP+m5yUJvCm3y+jTqOg -zsV6a7rJ8A1C4AqN4ECGhSZ3WKmUNNokflW8bhKaVPvelhsW ------END CERTIFICATE----- diff --git a/test-certs/client.plrl.key b/test-certs/client.plrl.key deleted file mode 100644 index a48c41986..000000000 --- a/test-certs/client.plrl.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAolV9XiJWBGr+n9+8XlP2AhibKi61p3AGpL7ToDEwI7VCum8S -O0uJ9DKN2YvddNqwStmjRRGBxBBGhCg/MnOalrp7bA59c1sMrnWzF2w9cNDWtm94 -1/C125CXKfxYZy8X5y0rzYen1RTH61Oxpkukxk1uZ8z5jyBT/Vd54Rt22Q9xeQnG -qqwaHvVs+GrNnjnxXZNrvx9eEy7a1511qM4cBXfFWsIUuqAIb366BS/vkzLZBUwQ -ZJm1RC3Jb9WlLvmL/LqofJCt/vZ0Y7QN5QsCZz5fuE3mBZShLubujhE+0IjNRkzl -1dig/qLJ4hxqAu82gpK6quK7Zzjr6zCIWCHWzQIDAQABAoIBAD+Z+RWBpGv0s7BV -y4q1oKQvmdOMG3XvqVqwvV99Bhxnby52SBFdRj6b9AGxD+IxsHKTFKoB8vKrYcVz -s1cD/iRiCetLPhGNMcnEqZdavDPQTt+JizInyEivPNqhWM2MoPPdOdU7+iC9FJr5 -3peF+ZgMTF50664M/3s547GzvfvKtjNoXB3TR53kByrKn/4eJKJC2QqCl4fQUm4J -9JcWSRAQQ4m7Yajhaw7FPe3ThJywx/l4CZWaIb4G5me2Blveyr7CvEZl70hpM7Mb -G+CyIS1U9nCVLyR1/w7SsNpnjHoviOPZA6fe6afjRZ+yl0qA0fCE1DpDlvXYW0TA -uQG4Nc0CgYEA1zyXCujN5HdyP8jMhiqGvFw+A6lo/Uez4b+uOYeT2w5f6Wvrprrh -nZYfWORZIY/DrVMzMfB38ZsV9XbqeaKGpOHjnYPVQaOmi7d/ySM1i9gT/3vx5YYJ -SAy5J2B2cQgrp9a3zgRJ/iwbE8zsnXWIZpGbGw7Sf2umkCk+rI+4/XsCgYEAwRP+ -hxgGX9X0zd1RYe9TqroiCb63vlv/RcyWWJBYNlBSUThgkfz2HtX60yoi+zIHuaVv -Y2Cfl6a71yL/bbDT8djVb/TfI5eTdu6EQhZPRyrLyGCIyjwn15/2hwe280rhk8AP -sHNdY43/Oga1RxU2Rho8R421WvwvyzOIf3I3dlcCgYASzHv0u/ifp78Wyxbx8Ozr -rrLL5xQAay7O3Mr+w1SqoUrHPGHMoi3qcZ4zSV5vi/rvPIEQL4yKUZ1NXyGDlipk -ZEZZD5aksQJu2YwTqTuYBztX6R9riJVu8Y2KXuZ5YNlPQ3WyTLWZuYhz5kYUSpur -ObRuXJEOB/z4QmHy+GqT2QKBgQCjAqF7J0KCeR5VDIzgNXIbC0kflyCEnCFaqc8p -eLyxJoFJR2Lo/nxBLoG09LdSAzxYdZ8kdPhozgF7MnYbAxb98gbJniEiaJ+84sVR -EoreV/hy9WWn8L/moYw/FrlUkR0AZEAaxlvLaKBaOj2khPksmIvaEX9TEOW9FoYg -q6q9wwKBgFK1opFBJLMsobt3ojB+zu+WMwYJCkrGR6D41gHYrBpqNJ6MZsYJ+n5g -9lJQB6MXg7i+H3l+6o2nbK7NdIGnJNH9AqfLvLeDxPzSNBbhuPmEVAtyrWebQOL1 -r/o4+WXFyGrFkukHWyBfjQqVTrCb73gRghJRPSFIJc+h7zPAI3l+ ------END RSA PRIVATE KEY----- diff --git a/test-certs/client.plural.crt b/test-certs/client.plural.crt deleted file mode 100644 index a87697310..000000000 --- a/test-certs/client.plural.crt +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDIjCCAgqgAwIBAgIQEzqeZ8kW+sY8/2CwaKC2cjANBgkqhkiG9w0BAQsFADAr -MRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y -NDA4MDUyMDA5MTVaFw0yOTA4MTAyMDA5MTVaMCUxEjAQBgNVBAoTCUNvY2tyb2Fj -aDEPMA0GA1UEAxMGcGx1cmFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAvIRgQf41YLOE+2PO/hVWkgkKBDE+gBqDIdwrt8Re3Jwtqi0QelmtVi5gUj90 -AJIHHpolQoYh+NXwqe4XmspI7XWb9lxyf1aA9t6k5BaTdtAEcwjMR5lRA5ps/dco -XbEHPkqMoScFsrNdO5sMVW77/ZnD4HmVOklAX1Xbq79p2m8GoSpsuZ1r8KyhtMIm -zCNRBTCApFS20ND+Z8w8GO3OY0U5oPiMbOBjNsfXEh+OWXj4rcbyxpKDUb3zXdWs -wZf62/bT7cf8wVh/1A9LF2nRHwCaFPBeIUf1ZAFRBoD3TqPZb25ho2zr+Ee1hs/p -Om8sk02lp4Y6ICfZYx/RS5VH6wIDAQABo0gwRjAOBgNVHQ8BAf8EBAMCBaAwEwYD -VR0lBAwwCgYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUuhs6UvvhM2InE8Gr1RjnsCZ/ -DCEwDQYJKoZIhvcNAQELBQADggEBAFGHlQuyR4hXFZyCq1gakxFBVlEZjkzvKgqT -NzHoC+2hTBGmTx24AVIR4NjZrXGjHAT/JlKp5T3JETgAfRIMtDW3VAoP03c/HkKp -GhoNUygIOCZW73u/zhVsLonZnoADz0sjMSpWYabTGeW2YdmT6i9J548Q2lVpeK/z -oLPnWDXZcYYJhNn7g6yh9YjvjEN5wRMTrqbVEqYeGi5hN9t5Jc9onS9Z8NFih2LO -1nqxLaKdmvMW70icif+zd5aGY8v24a1badJlCcKBdG8F/qAZIAUt3qGpcHh+D1hH -l0CACuHHwn1saIJJbgqRK0UuwvyiBaHk2B6el5kUFFgAl5Y+vfM= ------END CERTIFICATE----- diff --git a/test-certs/client.plural.key b/test-certs/client.plural.key deleted file mode 100644 index e83811a97..000000000 --- a/test-certs/client.plural.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE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ogyFUCgYBHQhmM8pH7wwXYgXPVjsKL -cHB0MHpUHiJq7baa/RddZlD88vRTWTJdcTMd+KJvAC7CQtGjCMhamA3aJxP4UPWp -mU2QGBQXgSXX+d5UNYy2xORGYxmeORHbEJSwcQu1eAoq0hiNFYaNY1HmKsJXblCe -xEsiNjpy4clbDF8ml+hBhQKBgGYyyICeun2fB1ggk9huo7ZRyPjQt3YHsEtotJb2 -1Q/l6tHQwSaU/+ejA+WZgkLHrUBbqOkttrBeIVXt5G2602bN9DN7ANA0fopRr2by -wLqc8poDju/mfAoOVb9NDWspjxIRiHQ7G/3f3KZoYdoXGVBjxpshoISXDmCRQc0H -1iEpAoGAEnSzV+8TbC+WLOFbf70eakN05N5/qHzNHm/Gto3r3lCIE20NJqO1dCm+ -c2KIrd0iohxzMbH1s/0rJybnTqzgXl7C96niH9GA5/RSepE43QAW0JL5zDGWYufJ -U5eizyAo4kjsQJmozhUF5rUXeOgvI/VPA7iGtQqDsbmni7Vh3rM= ------END RSA PRIVATE KEY----- diff --git a/test-certs/client.root.crt b/test-certs/client.root.crt deleted file mode 100644 index 23368b291..000000000 --- a/test-certs/client.root.crt +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDIDCCAgigAwIBAgIQKx6fqFWV70V5qGpDcqd70jANBgkqhkiG9w0BAQsFADAr -MRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y -NDA4MDUyMDU5NTNaFw0yOTA4MTAyMDU5NTNaMCMxEjAQBgNVBAoTCUNvY2tyb2Fj -aDENMAsGA1UEAxMEcm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ALDEZyfFRByM6CGCzKXoniLBkHoF+jMT8DX+Fp8b0Z6mutWGj52iRX8mQzLLbxBy -eLfzfeYmszvKIhOV6VQb4h4bDRIjsUpJqJZ4b56tBusOQ0Xf+dRbxLkXvpTY6zbP -rTOxc5LglAgb/enEiMxIQAlxmZlKUfSAz+0MslIMOjYfxtsRXdiEQNxfOd0ivz3q -gaOQkeRAQvCFcjxtWkWw7xRU6M594wA2jRB/xX+0JTZe4kXXEEJYL4YAshpM7RDg -BxMfTBy/ZaMPqY7j6xYG0gFo+FEabFspM+DC0VUDs4eaNGPedyqaxaR424Q3VbGo -llcsxZ1FX/GaR1HUJhrINAECAwEAAaNIMEYwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud -JQQMMAoGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFLobOlL74TNiJxPBq9UY57Amfwwh -MA0GCSqGSIb3DQEBCwUAA4IBAQA8zFhunyeNLrt2XYb4hklP7OvVANJVltyK4qxc -aYg5wEz37DlJvMorxt4z8b5dt+/7mWoohBr+2vvpab9hiGcCbjcbBXuQpEtwMLDL -1dFfcxLyBrMJ/JGmotZNPJbPuO1nTRhNiIQvnXJ0C16UWR8kTohsIlXBIzYXj4CA -AJaLIyU0GXOXOsIaTCmmval8o+yXj2og1noHQSuxrZeh5kyBUg9iufLd5PGV6i4N -hzSINw5ALI4vUgK5hvoDXqzZSLoDBUCQoaS8DybwKIYFLnrCiE2ETpJ3KQBKZ/Uf -oVnDvkM+qfUoc8g2BXwhjqOO6wOTt+pfB5K7pclvod5Zu7je ------END CERTIFICATE----- diff --git a/test-certs/client.root.key b/test-certs/client.root.key deleted file mode 100644 index e109ff6ea..000000000 --- a/test-certs/client.root.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAsMRnJ8VEHIzoIYLMpeieIsGQegX6MxPwNf4WnxvRnqa61YaP -naJFfyZDMstvEHJ4t/N95iazO8oiE5XpVBviHhsNEiOxSkmolnhvnq0G6w5DRd/5 -1FvEuRe+lNjrNs+tM7FzkuCUCBv96cSIzEhACXGZmUpR9IDP7QyyUgw6Nh/G2xFd -2IRA3F853SK/PeqBo5CR5EBC8IVyPG1aRbDvFFTozn3jADaNEH/Ff7QlNl7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915i0lPFTOS64dOKeoIfP5dFNnkLnzN3KNJe2T1KXavC+V9qW5xstdPB2zrT5k -aYUYvLcn8z41nY8kDYPAkDumaxpYUJsNtyjPU0Hnxn8sZwPaL9Nrl2brgkGIYLxC -tKKEMQKBgHg/TfHP17KVHhlmRP65clge9jtCKASe4KwkJRtC5btIr63SZpgBNX55 -jmp052iDzfknHnWUE2U+0Ruonolz8oFJKp8KJIQeBJ+N/d2LQW2jxn2+lQy2MGtz -B+N2+Jq42CK5B/KQnxotK7rFsFGN2KUkBvT2DJ33oVHcfk4Jex2v ------END RSA PRIVATE KEY----- diff --git a/test-certs/node.crt b/test-certs/node.crt deleted file mode 100644 index b3cec2438..000000000 --- a/test-certs/node.crt +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDRzCCAi+gAwIBAgIRAKygNDoW2fdrtTGg3FrAJ78wDQYJKoZIhvcNAQELBQAw -KzESMBAGA1UEChMJQ29ja3JvYWNoMRUwEwYDVQQDEwxDb2Nrcm9hY2ggQ0EwHhcN -MjQwODA1MjA1NDEwWhcNMjkwODEwMjA1NDEwWjAjMRIwEAYDVQQKEwlDb2Nrcm9h -Y2gxDTALBgNVBAMTBG5vZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -AQC6nXPmcEjqBTGyHacf6bSOyIitXhi9ABZKtaLFruKambVW1T6WsVWaoMEookao -7VNwkyg+uiEW45zQbtnkifuC1b4whffuAeK9gyCs9k8D4vhcpukAgjNKjEBrfkCD -dKjeUg+d5JbFhZe1biIAIU2Ni45R9ikK/Ll3PU3bqNhjL+K2+/6NpjbBLQmqFpgw -Jc6BiVH+8xvIge+BMR2t3HaXSDrC+pOHGRVFxGUslla8jnYClGbV8U9Cy7tGBC8R -KW58nbFAZyXFkYTwKQYd4ZqugVDKrNK8gIwQkVZSmIzaW6pGou25oiST1wMtAJIp -MhmeTEtPIlRQiu2xv2czd8mpAgMBAAGjbjBsMA4GA1UdDwEB/wQEAwIFoDAdBgNV -HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUuhs6UvvhM2In -E8Gr1RjnsCZ/DCEwGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/AAABMA0GCSqGSIb3 -DQEBCwUAA4IBAQBmJySfq03wu9TLeQVlA+tP/ebUHPPIOHriI4vdYLTdshHb3xdE -YwEJIfqneK8qniaq4TEoQXr1TUglK2Agw782WROawhI9sYwlCGUP4gJiSD8f4wao -9zppKAm5vXjAdHzoFw1mLaOZyGzNsoo5F3kn75lTx5n4sRLfF/wIIMba1oq16VPb -fjAsBE5npdvayhR61jnDuGs8ezIPXY2PB/9WlJa2gvVtKbOKUfo8OQ3LwKvMYJIy -bpdweodEPdh8GCg/VQFg84rzRPsc9RmIv/3NWYFiSJe2715bwHwcipV3Uukgnc8a -KmFG1kA/8kTV4Ft18+gRwDn53fWxFLUtW0I+ ------END CERTIFICATE----- diff --git a/test-certs/node.key b/test-certs/node.key deleted file mode 100644 index ebb096968..000000000 --- a/test-certs/node.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAup1z5nBI6gUxsh2nH+m0jsiIrV4YvQAWSrWixa7impm1VtU+ -lrFVmqDBKKJGqO1TcJMoProhFuOc0G7Z5In7gtW+MIX37gHivYMgrPZPA+L4XKbp -AIIzSoxAa35Ag3So3lIPneSWxYWXtW4iACFNjYuOUfYpCvy5dz1N26jYYy/itvv+ -jaY2wS0JqhaYMCXOgYlR/vMbyIHvgTEdrdx2l0g6wvqThxkVRcRlLJZWvI52ApRm -1fFPQsu7RgQvESlufJ2xQGclxZGE8CkGHeGaroFQyqzSvICMEJFWUpiM2luqRqLt -uaIkk9cDLQCSKTIZnkxLTyJUUIrtsb9nM3fJqQIDAQABAoIBAQCfM9A6mTQ7IW9C -CvYWzaQR45ZmgM4N/1MFLWvNxeLgDZ2clJOur17eaaIf7kDlwIHcmk5NJT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