From a4d60c655f87cc56ebf38b95411033dfa3fd07e8 Mon Sep 17 00:00:00 2001 From: William Chong Date: Wed, 23 Oct 2024 10:30:24 +0400 Subject: [PATCH] No need to import certs --- .github/workflows/publish.yml | 11 ----------- gencert.ps1 | 2 -- 2 files changed, 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cd0bf6d69..598be309d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -127,17 +127,6 @@ jobs: with: name: certs path: certs - - name: Import certificates (Linux) - if: runner.os == 'Linux' - shell: bash - run: | - sudo cp certs/ca/ca.crt /usr/local/share/ca-certificates/eventstore_ca.crt - sudo update-ca-certificates - - name: Import certificates (Windows) - if: runner.os == 'Windows' - shell: pwsh - run: | - Import-Certificate -FilePath "certs\ca\ca.crt" -CertStoreLocation "Cert:\LocalMachine\Root" - name: Run Tests (Linux) if: runner.os == 'Linux' shell: bash diff --git a/gencert.ps1 b/gencert.ps1 index 74fc80d59..4055131d2 100644 --- a/gencert.ps1 +++ b/gencert.ps1 @@ -21,5 +21,3 @@ docker run --rm --volume .\certs:/tmp docker.eventstore.com/eventstore-utils/es- # Set permissions recursively for the directory icacls .\certs /grant:r "$($env:UserName):(OI)(CI)F" - -Import-Certificate -FilePath ".\certs\ca\ca.crt" -CertStoreLocation Cert:\CurrentUser\Root