From 94e0792f7a724c9f0f2113db6241b1eb21738d57 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sun, 26 May 2024 12:54:26 +0100 Subject: [PATCH] DO NOT MERGE Try without v3_req --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 150827d..2f5f826 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -43,7 +43,7 @@ jobs: # To work around https://github.com/duncanthrax/scream/issues/215, create our own self-signed certificate for the Scream driver. # makecert.exe insists on interactively asking the user for a password (sigh...), so use OpenSSL instead. # `-extensions v3_req` is a trick to make sure the resulting cert has basic constraint CA:FALSE (the default is CA:TRUE which is problematic here) without having to create an OpenSSL config file. - - run: 'openssl req -batch -verbose -x509 -newkey rsa -keyout ScreamCertificate.pvk -out ScreamCertificate.cer -nodes -extensions v3_req' + - 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:' # Sign the driver with the self-signed certificate we just made. - run: 'signtool sign /v /fd SHA256 /f ScreamCertificate.pfx Scream\Install\driver\x64\Scream.cat'