From ecc1c2d25a0a71625896ee3598df9747333a7dfa Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sun, 26 May 2024 10:29:28 +0100 Subject: [PATCH] Self signed certificate --- .github/workflows/continuous-integration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f4fa58a..f2f2852 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -8,8 +8,11 @@ jobs: run: Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream4.0.zip - shell: powershell run: Expand-Archive -Path Scream4.0.zip -DestinationPath Scream + - run: openssl req -batch -verbose -x509 -newkey rsa -keyout ScreamCertificate.pvk -out ScreamCertificate.cer -nodes + - run: 'openssl pkcs12 -export -nodes -in ScreamCertificate.cer -inkey ScreamCertificate.pvk -out ScreamCertificate.pfx -passout pass:' + - run: signtool sign /v /fd SHA256 /f ScreamCertificate.pfx install Scream\Install\driver\x64\Scream.sys - shell: powershell - run: Import-Certificate -FilePath Scream\Install\driver\x64\Scream.cat -CertStoreLocation Cert:\LocalMachine\TrustedPublisher + run: Import-Certificate -FilePath ScreamCertificate.cer -CertStoreLocation Cert:\LocalMachine\root - shell: powershell run: Install-Module -Name PShot -AcceptLicense -Force - shell: powershell